*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / watchdog / smsc37b787_wdt.c
index c768dcd5303484120ecae579da9cc08ddc8f1e74..a221707752737edd8a21b5edcf665508ded1b397 100644 (file)
@@ -366,7 +366,7 @@ static int wb_smsc_wdt_open(struct inode *inode, struct file *file)
        pr_info("Watchdog enabled. Timeout set to %d %s\n",
                timeout, (unit == UNIT_SECOND) ? "second(s)" : "minute(s)");
 
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 /* close => shut off the timer */