Skip to contentSkip to conversation

+ rtc-rtc-mv-make-of_device_id-array-const.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 7, 2014 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

Subject: + rtc-rtc-mv-make-of_device_id-array-const.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Wed, 07 May 2014 13:16:47 -0700

The patch titled
Subject: rtc: rtc-mv: make of_device_id array const
has been added to the -mm tree. Its filename is
rtc-rtc-mv-make-of_device_id-array-const.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/rtc-rtc-mv-make-of_device_id-array-const.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/rtc-rtc-mv-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 <[email protected]>
Subject: rtc: rtc-mv: make of_device_id array const

Make of_device_id array const, because all OF functions handle it as const.

---

 drivers/rtc/rtc-mv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-mv.c renamed from drivers/rtc/rtc-mv.c~rtc-rtc-mv-make-of_device_id-array-const +1 -1
diff -puN drivers/rtc/rtc-mv.c~rtc-rtc-mv-make-of_device_id-array-const drivers/rtc/rtc-mv.c
@@ -319,7 +319,7 @@ static int __exit mv_rtc_remove(struct p
 }
 
 #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", },
 	{}
 };

_

Patches currently in -mm which might be from [email protected] 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