X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=drivers%2Fwatchdog%2Fsc1200wdt.c;h=3c2e9355410ab7ab91def58b695513aab49c29c8;hp=e035a4d4b299f388e6f5287b69621acc2f6e4ee1;hb=c5bf68fe0c86a5835bd2e6aead1c49976360753f;hpb=5ea6718b1f1bb58825426e19a21cdba47075a954 diff --git a/drivers/watchdog/sc1200wdt.c b/drivers/watchdog/sc1200wdt.c index e035a4d4b299..3c2e9355410a 100644 --- a/drivers/watchdog/sc1200wdt.c +++ b/drivers/watchdog/sc1200wdt.c @@ -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); }