提交 415ab328 编写于 作者: S Sebastian Andrzej Siewior 提交者: Tony Lindgren

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: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 7252db5f
...@@ -601,7 +601,7 @@ void __init omap2_set_globals_tap(u32 class, void __iomem *tap) ...@@ -601,7 +601,7 @@ void __init omap2_set_globals_tap(u32 class, void __iomem *tap)
#ifdef CONFIG_SOC_BUS #ifdef CONFIG_SOC_BUS
static const char const *omap_types[] = { static const char * const omap_types[] = {
[OMAP2_DEVICE_TYPE_TEST] = "TST", [OMAP2_DEVICE_TYPE_TEST] = "TST",
[OMAP2_DEVICE_TYPE_EMU] = "EMU", [OMAP2_DEVICE_TYPE_EMU] = "EMU",
[OMAP2_DEVICE_TYPE_SEC] = "HS", [OMAP2_DEVICE_TYPE_SEC] = "HS",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册