summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-mv.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-06 14:35:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 16:08:08 -0700
commit4621bc56ceea7a5addacfef4b757c04c97e9476a (patch)
treebee0b43d812321c96985f88cf5b26ac8de8839b2 /drivers/rtc/rtc-mv.c
parent8c5bfac0ffd172f3d81be091050fca2aa544ed6e (diff)
downloadop-kernel-dev-4621bc56ceea7a5addacfef4b757c04c97e9476a.zip
op-kernel-dev-4621bc56ceea7a5addacfef4b757c04c97e9476a.tar.gz
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>
Diffstat (limited to 'drivers/rtc/rtc-mv.c')
-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 d15a999..6aaec2f 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)
}
#ifdef CONFIG_OF
-static struct of_device_id rtc_mv_of_match_table[] = {
+static const struct of_device_id rtc_mv_of_match_table[] = {
{ .compatible = "marvell,orion-rtc", },
{}
};
OpenPOWER on IntegriCloud