summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/id.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2013-06-06 15:24:38 +0200
committerTony Lindgren <tony@atomide.com>2013-06-12 16:16:30 +0200
commit415ab3283c8179adba6ed8316e1a52b93431a8a6 (patch)
treea7074b35a6554ac86f59022305e67ed6420dad25 /arch/arm/mach-omap2/id.c
parentARM: OMAP2+: devices: Do not print error when dss_hdmi hwmod lookup fails (diff)
downloadlinux-415ab3283c8179adba6ed8316e1a52b93431a8a6.tar.xz
linux-415ab3283c8179adba6ed8316e1a52b93431a8a6.zip
arm/omap: use const char properly
The itention was probably to make both pointers const but as it is now, it is just const used twice. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/id.c')
-rw-r--r--arch/arm/mach-omap2/id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 1272c41d4749..54e4c16ce539 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -601,7 +601,7 @@ void __init omap2_set_globals_tap(u32 class, void __iomem *tap)
#ifdef CONFIG_SOC_BUS
-static const char const *omap_types[] = {
+static const char * const omap_types[] = {
[OMAP2_DEVICE_TYPE_TEST] = "TST",
[OMAP2_DEVICE_TYPE_EMU] = "EMU",
[OMAP2_DEVICE_TYPE_SEC] = "HS",