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
llseek: automatically add .llseek fop
[sfrench/cifs-2.6.git]
/
drivers
/
char
/
nwbutton.c
diff --git
a/drivers/char/nwbutton.c
b/drivers/char/nwbutton.c
index 2604246501e499eda6568527e4c64d8b5a13bc48..8994ce32e6c70046c2658d69a4bc4e828636c43a 100644
(file)
--- a/
drivers/char/nwbutton.c
+++ b/
drivers/char/nwbutton.c
@@
-182,6
+182,7
@@
static int button_read (struct file *filp, char __user *buffer,
static const struct file_operations button_fops = {
.owner = THIS_MODULE,
.read = button_read,
+ .llseek = noop_llseek,
};
/*