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 2943d83edfd1..d51d8f20e634 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) | |||
23 | { | 23 | { |
24 | int err; | 24 | int err; |
25 | struct class_device *class_dev = seq->private; | 25 | struct class_device *class_dev = seq->private; |
26 | struct rtc_class_ops *ops = to_rtc_device(class_dev)->ops; | 26 | const struct rtc_class_ops *ops = to_rtc_device(class_dev)->ops; |
27 | struct rtc_wkalrm alrm; | 27 | struct rtc_wkalrm alrm; |
28 | struct rtc_time tm; | 28 | struct rtc_time tm; |
29 | 29 | ||