diff options
Diffstat (limited to 'drivers/rtc/rtc-proc.c')
| -rw-r--r-- | drivers/rtc/rtc-proc.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-proc.c b/drivers/rtc/rtc-proc.c index 2943d83edfd..d51d8f20e63 100644 --- a/drivers/rtc/rtc-proc.c +++ b/drivers/rtc/rtc-proc.c @@ -23,7 +23,7 @@ static int rtc_proc_show(struct seq_file *seq, void *offset)  {  	int err;  	struct class_device *class_dev = seq->private; -	struct rtc_class_ops *ops = to_rtc_device(class_dev)->ops; +	const struct rtc_class_ops *ops = to_rtc_device(class_dev)->ops;  	struct rtc_wkalrm alrm;  	struct rtc_time tm;  |