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

rtc: rtc-palmas: 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
7abe3f54 4621bc56

+1 -1
+1 -1
drivers/rtc/rtc-palmas.c
··· 352 352 palmas_rtc_resume); 353 353 354 354 #ifdef CONFIG_OF 355 - static struct of_device_id of_palmas_rtc_match[] = { 355 + static const struct of_device_id of_palmas_rtc_match[] = { 356 356 { .compatible = "ti,palmas-rtc"}, 357 357 { }, 358 358 };