aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/raw.c')
-rw-r--r--drivers/char/raw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/raw.c b/drivers/char/raw.c
index 24b2b9160aa6..bfe25ea9766b 100644
--- a/drivers/char/raw.c
+++ b/drivers/char/raw.c
@@ -292,6 +292,7 @@ static const struct file_operations raw_fops = {
292 .open = raw_open, 292 .open = raw_open,
293 .release = raw_release, 293 .release = raw_release,
294 .unlocked_ioctl = raw_ioctl, 294 .unlocked_ioctl = raw_ioctl,
295 .llseek = default_llseek,
295 .owner = THIS_MODULE, 296 .owner = THIS_MODULE,
296}; 297};
297 298
@@ -302,6 +303,7 @@ static const struct file_operations raw_ctl_fops = {
302#endif 303#endif
303 .open = raw_open, 304 .open = raw_open,
304 .owner = THIS_MODULE, 305 .owner = THIS_MODULE,
306 .llseek = noop_llseek,
305}; 307};
306 308
307static struct cdev raw_cdev; 309static struct cdev raw_cdev;