diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-06 23:35:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-07 01:08:08 +0200 |
commit | 4621bc56ceea7a5addacfef4b757c04c97e9476a (patch) | |
tree | bee0b43d812321c96985f88cf5b26ac8de8839b2 /drivers/rtc/rtc-mv.c | |
parent | rtc: isl12057: make of_device_id array const (diff) | |
download | linux-4621bc56ceea7a5addacfef4b757c04c97e9476a.tar.xz linux-4621bc56ceea7a5addacfef4b757c04c97e9476a.zip |
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.c | 2 |
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) } #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", }, {} }; |