summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-pxa.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-06 14:36:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 16:08:09 -0700
commit8b18daa1bc7ed8a7a06df77de9c4a37e842e83b2 (patch)
tree930a8c9529c58c0d43db6d7e26507a620e48c658 /drivers/rtc/rtc-pxa.c
parentdee21a6faf4bbde372e2159f2699589a3eddb5a8 (diff)
downloadlinux-8b18daa1bc7ed8a7a06df77de9c4a37e842e83b2.tar.gz
linux-8b18daa1bc7ed8a7a06df77de9c4a37e842e83b2.tar.bz2
linux-8b18daa1bc7ed8a7a06df77de9c4a37e842e83b2.zip
drivers/rtc/rtc-pxa.c: make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-pxa.c')
-rw-r--r--drivers/rtc/rtc-pxa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c
index cccbf9d89729..4561f375327d 100644
--- a/drivers/rtc/rtc-pxa.c
+++ b/drivers/rtc/rtc-pxa.c
@@ -389,7 +389,7 @@ static int __exit pxa_rtc_remove(struct platform_device *pdev)
}
#ifdef CONFIG_OF
-static struct of_device_id pxa_rtc_dt_ids[] = {
+static const struct of_device_id pxa_rtc_dt_ids[] = {
{ .compatible = "marvell,pxa-rtc" },
{}
};