git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git]
/
drivers
/
watchdog
/
smsc37b787_wdt.c
diff --git
a/drivers/watchdog/smsc37b787_wdt.c
b/drivers/watchdog/smsc37b787_wdt.c
index c768dcd5303484120ecae579da9cc08ddc8f1e74..a221707752737edd8a21b5edcf665508ded1b397 100644
(file)
--- a/
drivers/watchdog/smsc37b787_wdt.c
+++ b/
drivers/watchdog/smsc37b787_wdt.c
@@
-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 */