projects
/
linux-2.6-block.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
[linux-2.6-block.git]
/
drivers
/
char
/
hw_random
/
core.c
diff --git
a/drivers/char/hw_random/core.c
b/drivers/char/hw_random/core.c
index 3d9c61e5acbf2adb354a70e0a8ba532568ef06d0..788da05190ccf865ab47f0e53848c70faa8f5d33 100644
(file)
--- a/
drivers/char/hw_random/core.c
+++ b/
drivers/char/hw_random/core.c
@@
-170,6
+170,7
@@
static const struct file_operations rng_chrdev_ops = {
.owner = THIS_MODULE,
.open = rng_dev_open,
.read = rng_dev_read,
+ .llseek = noop_llseek,
};
static struct miscdevice rng_miscdev = {