aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-06 17:35:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 19:08:08 -0400
commit4621bc56ceea7a5addacfef4b757c04c97e9476a (patch)
treebee0b43d812321c96985f88cf5b26ac8de8839b2
parent8c5bfac0ffd172f3d81be091050fca2aa544ed6e (diff)
rtc: rtc-mv: 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>
-rw-r--r--drivers/rtc/rtc-mv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-mv.c b/drivers/rtc/rtc-mv.c
index d15a999363fc..6aaec2fc7c0d 100644
--- a/drivers/rtc/rtc-mv.c
+++ b/drivers/rtc/rtc-mv.c
@@ -319,7 +319,7 @@ static int __exit mv_rtc_remove(struct platform_device *pdev)
319} 319}
320 320
321#ifdef CONFIG_OF 321#ifdef CONFIG_OF
322static struct of_device_id rtc_mv_of_match_table[] = { 322static const struct of_device_id rtc_mv_of_match_table[] = {
323 { .compatible = "marvell,orion-rtc", }, 323 { .compatible = "marvell,orion-rtc", },
324 {} 324 {}
325}; 325};