aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-06 17:36:14 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 19:08:09 -0400
commit8b18daa1bc7ed8a7a06df77de9c4a37e842e83b2 (patch)
tree930a8c9529c58c0d43db6d7e26507a620e48c658 /drivers/rtc
parentdee21a6faf4bbde372e2159f2699589a3eddb5a8 (diff)
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')
-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)
389} 389}
390 390
391#ifdef CONFIG_OF 391#ifdef CONFIG_OF
392static struct of_device_id pxa_rtc_dt_ids[] = { 392static const struct of_device_id pxa_rtc_dt_ids[] = {
393 { .compatible = "marvell,pxa-rtc" }, 393 { .compatible = "marvell,pxa-rtc" },
394 {} 394 {}
395}; 395};