Skip to content

Commit

Permalink
arm/omap: use const char properly
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Andrzej Siewior authored and Tony Lindgren committed Jun 12, 2013
1 parent 7252db5 commit 415ab32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/id.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 415ab32

Please sign in to comment.