*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / watchdog / w83977f_wdt.c
index 672b61a7f9a363a1b4b403b66c505e6d2d0978e0..184324c1edae8d9ea3e5e846f3126e63c0415d07 100644 (file)
@@ -298,7 +298,7 @@ static int wdt_open(struct inode *inode, struct file *file)
                __module_get(THIS_MODULE);
 
        wdt_start();
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 static int wdt_release(struct inode *inode, struct file *file)