summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-at91.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-at91.c')
-rw-r--r--drivers/rtc/rtc-at91.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-at91.c b/drivers/rtc/rtc-at91.c
index dfd0ce86f6a..3cf3529888c 100644
--- a/drivers/rtc/rtc-at91.c
+++ b/drivers/rtc/rtc-at91.c
@@ -267,7 +267,7 @@ static irqreturn_t at91_rtc_interrupt(int irq, void *dev_id,
return IRQ_NONE; /* not handled */
}
-static struct rtc_class_ops at91_rtc_ops = {
+static const struct rtc_class_ops at91_rtc_ops = {
.ioctl = at91_rtc_ioctl,
.read_time = at91_rtc_readtime,
.set_time = at91_rtc_settime,