*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / watchdog / sc1200wdt.c
index e035a4d4b299f388e6f5287b69621acc2f6e4ee1..3c2e9355410ab7ab91def58b695513aab49c29c8 100644 (file)
@@ -178,7 +178,7 @@ static int sc1200wdt_open(struct inode *inode, struct file *file)
        sc1200wdt_start();
        pr_info("Watchdog enabled, timeout = %d min(s)", timeout);
 
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }