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>
This commit is contained in:
Родитель
7252db5fef
Коммит
415ab3283c
|
@ -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",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче