summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-omap.c
diff options
context:
space:
mode:
authorJohan Hovold2014-12-11 00:52:52 +0100
committerLinus Torvalds2014-12-11 02:41:13 +0100
commitd17a82e212638dfb9268108053fde93345cb2e96 (patch)
treeaed33d7f6f6e6b9a90d56dc87d1ae775a4f5772c /drivers/rtc/rtc-omap.c
parentrtc: omap: use dev_info (diff)
downloadkernel-qcow2-linux-d17a82e212638dfb9268108053fde93345cb2e96.tar.gz
kernel-qcow2-linux-d17a82e212638dfb9268108053fde93345cb2e96.tar.xz
kernel-qcow2-linux-d17a82e212638dfb9268108053fde93345cb2e96.zip
rtc: omap: make platform-device id table const
Make platform-device id table const. Signed-off-by: Johan Hovold <johan@kernel.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Tony Lindgren <tony@atomide.com> Cc: Benot Cousson <bcousson@baylibre.com> Cc: Lokesh Vutla <lokeshvutla@ti.com> Cc: Guenter Roeck <linux@roeck-us.net> Cc: Sekhar Nori <nsekhar@ti.com> Cc: Tero Kristo <t-kristo@ti.com> Cc: Keerthy J <j-keerthy@ti.com> Tested-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-omap.c')
-rw-r--r--drivers/rtc/rtc-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c
index dbb88e46c25d..bdee29674589 100644
--- 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,
},