*: convert stream-like files from nonseekable_open -> stream_open
[linux-2.6-block.git] / drivers / watchdog / machzwd.c
index 88d823d87a4b3895e4a139f9579ae6b08359f8dd..53759415cf06e9890315e0a0a63245a94e9ff93f 100644 (file)
@@ -333,7 +333,7 @@ static int zf_open(struct inode *inode, struct file *file)
        if (nowayout)
                __module_get(THIS_MODULE);
        zf_timer_on();
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 static int zf_close(struct inode *inode, struct file *file)