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
/
advantechwdt.c
diff --git
a/drivers/watchdog/advantechwdt.c
b/drivers/watchdog/advantechwdt.c
index f61944369c1ade3608b500834cefd7a9e6e8aba0..2766af292a714a6ef2e258c7e79d4cfba3f3c1ed 100644
(file)
--- a/
drivers/watchdog/advantechwdt.c
+++ b/
drivers/watchdog/advantechwdt.c
@@
-199,7
+199,7
@@
static int advwdt_open(struct inode *inode, struct file *file)
*/
advwdt_ping();
- return
nonseekable
_open(inode, file);
+ return
stream
_open(inode, file);
}
static int advwdt_close(struct inode *inode, struct file *file)