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
/
ath79_wdt.c
diff --git
a/drivers/watchdog/ath79_wdt.c
b/drivers/watchdog/ath79_wdt.c
index e2209bf5fa8afabd3e8bc96c7767e5a545d384fb..4f56b63f96910c3fa3b8b53b513b096f46bb8322 100644
(file)
--- a/
drivers/watchdog/ath79_wdt.c
+++ b/
drivers/watchdog/ath79_wdt.c
@@
-132,7
+132,7
@@
static int ath79_wdt_open(struct inode *inode, struct file *file)
clear_bit(WDT_FLAGS_EXPECT_CLOSE, &wdt_flags);
ath79_wdt_enable();
- return
nonseekable
_open(inode, file);
+ return
stream
_open(inode, file);
}
static int ath79_wdt_release(struct inode *inode, struct file *file)