projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
397b630
)
rtc: omap: make platform-device id table const
author
Johan Hovold
<
[email protected]
>
Wed, 10 Dec 2014 23:52:52 +0000
(15:52 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 11 Dec 2014 01:41:13 +0000
(17:41 -0800)
Make platform-device id table const.
Signed-off-by: Johan Hovold <
[email protected]
>
Cc: Alessandro Zummo <
[email protected]
>
Cc: Tony Lindgren <
[email protected]
>
Cc: Benot Cousson <
[email protected]
>
Cc: Lokesh Vutla <
[email protected]
>
Cc: Guenter Roeck <
[email protected]
>
Cc: Sekhar Nori <
[email protected]
>
Cc: Tero Kristo <
[email protected]
>
Cc: Keerthy J <
[email protected]
>
Tested-by: Felipe Balbi <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rtc/rtc-omap.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-omap.c
b/drivers/rtc/rtc-omap.c
index dbb88e46c25df4e06901ed11c6fc6b2411f71d2e..bdee29674589d6c2b8ae81e360e2df56affa44ab 100644
(file)
--- a/
drivers/rtc/rtc-omap.c
+++ b/
drivers/rtc/rtc-omap.c
@@
-342,7
+342,7
@@
static int omap_rtc_timer;
#define OMAP_RTC_DATA_AM3352_IDX 1
#define OMAP_RTC_DATA_DA830_IDX 2
-static struct platform_device_id omap_rtc_devtype[] = {
+static
const
struct platform_device_id omap_rtc_devtype[] = {
{
.name = DRIVER_NAME,
},