Subject: + rtc-rtc-palmas-make-of_device_id-array-const.patch added to -mm tree To: jg1.han@xxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 07 May 2014 13:16:48 -0700 The patch titled Subject: rtc: rtc-palmas: make of_device_id array const has been added to the -mm tree. Its filename is rtc-rtc-palmas-make-of_device_id-array-const.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/rtc-rtc-palmas-make-of_device_id-array-const.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/rtc-rtc-palmas-make-of_device_id-array-const.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Jingoo Han <jg1.han@xxxxxxxxxxx> Subject: 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@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-palmas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/rtc/rtc-palmas.c~rtc-rtc-palmas-make-of_device_id-array-const drivers/rtc/rtc-palmas.c --- a/drivers/rtc/rtc-palmas.c~rtc-rtc-palmas-make-of_device_id-array-const +++ a/drivers/rtc/rtc-palmas.c @@ -352,7 +352,7 @@ static SIMPLE_DEV_PM_OPS(palmas_rtc_pm_o palmas_rtc_resume); #ifdef CONFIG_OF -static struct of_device_id of_palmas_rtc_match[] = { +static const struct of_device_id of_palmas_rtc_match[] = { { .compatible = "ti,palmas-rtc"}, { }, }; _ Patches currently in -mm which might be from jg1.han@xxxxxxxxxxx are maintainers-update-ibm-serveraid-raid-info.patch drivers-video-backlight-backlightc-remove-backlight-sysfs-uevent.patch rtc-m41t80-remove-drv_version-macro.patch rtc-m41t80-clean-up-error-paths.patch rtc-m41t80-propagate-error-value-from-smbus-functions.patch rtc-m41t80-add-support-for-microcrystal-rv4162.patch drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name.patch drivers-rtc-rtc-88pm860xc-add-missing-of_node_put.patch rtc-rtc-ds1742-make-of_device_id-array-const.patch rtc-rtc-hym8563-make-of_device_id-array-const.patch rtc-isl12057-make-of_device_id-array-const.patch rtc-rtc-mv-make-of_device_id-array-const.patch rtc-rtc-palmas-make-of_device_id-array-const.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html