arm/omap: use const char properly
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 6 Jun 2013 13:24:38 +0000 (15:24 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 12 Jun 2013 14:16:30 +0000 (07:16 -0700)
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>
arch/arm/mach-omap2/id.c

index 1272c41d474903c638e60902e66144e6a3692e79..54e4c16ce53956f645e6a4e9ba8d470ee8dfb4b2 100644 (file)
@@ -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",