Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jingoo Han and committed by
Linus Torvalds
4621bc56 8c5bfac0

+1 -1
+1 -1
drivers/rtc/rtc-mv.c
··· 319 319 } 320 320 321 321 #ifdef CONFIG_OF 322 - static struct of_device_id rtc_mv_of_match_table[] = { 322 + static const struct of_device_id rtc_mv_of_match_table[] = { 323 323 { .compatible = "marvell,orion-rtc", }, 324 324 {} 325 325 };