summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ls1x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-ls1x.c')
-rw-r--r--drivers/rtc/rtc-ls1x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ls1x.c b/drivers/rtc/rtc-ls1x.c
index 22a9ec4f2b83..e04ca54f21e2 100644
--- a/drivers/rtc/rtc-ls1x.c
+++ b/drivers/rtc/rtc-ls1x.c
@@ -138,7 +138,7 @@ err:
return ret;
}
-static struct rtc_class_ops ls1x_rtc_ops = {
+static const struct rtc_class_ops ls1x_rtc_ops = {
.read_time = ls1x_rtc_read_time,
.set_time = ls1x_rtc_set_time,
};