diff options
Diffstat (limited to 'drivers/char/ds1302.c')
-rw-r--r-- | drivers/char/ds1302.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/ds1302.c b/drivers/char/ds1302.c index a75e8609be0..bcdb107aa96 100644 --- a/drivers/char/ds1302.c +++ b/drivers/char/ds1302.c @@ -12,7 +12,6 @@ *! *!***************************************************************************/ -#include <linux/config.h> #include <linux/fs.h> #include <linux/init.h> @@ -283,7 +282,7 @@ get_rtc_status(char *buf) /* The various file operations we support. */ -static struct file_operations rtc_fops = { +static const struct file_operations rtc_fops = { .owner = THIS_MODULE, .ioctl = rtc_ioctl, }; |