diff options
Diffstat (limited to 'drivers/acorn/char/i2c.c')
-rw-r--r-- | drivers/acorn/char/i2c.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acorn/char/i2c.c b/drivers/acorn/char/i2c.c index 9e584a7af434..d276fd14d63a 100644 --- a/drivers/acorn/char/i2c.c +++ b/drivers/acorn/char/i2c.c @@ -14,7 +14,6 @@ */ #include <linux/capability.h> #include <linux/init.h> -#include <linux/sched.h> #include <linux/time.h> #include <linux/miscdevice.h> #include <linux/rtc.h> @@ -238,7 +237,7 @@ static int rtc_ioctl(struct inode *inode, struct file *file, return -EINVAL; } -static struct file_operations rtc_fops = { +static const struct file_operations rtc_fops = { .ioctl = rtc_ioctl, }; |