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

drivers/rtc/rtc-sa1100.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>

authored by

Jingoo Han and committed by
Linus Torvalds
dee21a6f ab7f580b

+1 -1
+1 -1
drivers/rtc/rtc-sa1100.c
··· 338 338 sa1100_rtc_resume); 339 339 340 340 #ifdef CONFIG_OF 341 - static struct of_device_id sa1100_rtc_dt_ids[] = { 341 + static const struct of_device_id sa1100_rtc_dt_ids[] = { 342 342 { .compatible = "mrvl,sa1100-rtc", }, 343 343 { .compatible = "mrvl,mmp-rtc", }, 344 344 {}