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
/
rtc
/
rtc-m41t80.c
diff --git
a/drivers/rtc/rtc-m41t80.c
b/drivers/rtc/rtc-m41t80.c
index ebf50b1540f21bf6733f3f1d3ccb4202a407327a..dd5a8991f75bbb607d3b98986697f9256a5aa0f4 100644
(file)
--- a/
drivers/rtc/rtc-m41t80.c
+++ b/
drivers/rtc/rtc-m41t80.c
@@
-802,7
+802,7
@@
static int wdt_open(struct inode *inode, struct file *file)
*/
wdt_is_open = 1;
mutex_unlock(&m41t80_rtc_mutex);
- return
nonseekable
_open(inode, file);
+ return
stream
_open(inode, file);
}
return -ENODEV;
}