*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / watchdog / ar7_wdt.c
index ee1ab12ab04fe547e10c3b1c45ac2c41d8e97192..b9b2d06b387965eb206e1f08c6ffad7129b4f707 100644 (file)
@@ -163,7 +163,7 @@ static int ar7_wdt_open(struct inode *inode, struct file *file)
        ar7_wdt_enable_wdt();
        expect_close = 0;
 
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 static int ar7_wdt_release(struct inode *inode, struct file *file)