diff options
Diffstat (limited to 'drivers/rtc/rtc-dev.c')
| -rw-r--r-- | drivers/rtc/rtc-dev.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c index 82f2ac87ccd..137330b8636 100644 --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/rtc-dev.c @@ -384,7 +384,7 @@ static int rtc_dev_fasync(int fd, struct file *file, int on)  	return fasync_helper(fd, file, on, &rtc->async_queue);  } -static struct file_operations rtc_dev_fops = { +static const struct file_operations rtc_dev_fops = {  	.owner		= THIS_MODULE,  	.llseek		= no_llseek,  	.read		= rtc_dev_read,  |