Commit 92ee8bd4 authored by Joe Perches's avatar Joe Perches Committed by Michal Simek

microblaze: Use static const char * const where possible

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 099a2f42
...@@ -47,7 +47,7 @@ void setup_heartbeat(void) ...@@ -47,7 +47,7 @@ void setup_heartbeat(void)
struct device_node *gpio = NULL; struct device_node *gpio = NULL;
int *prop; int *prop;
int j; int j;
char *gpio_list[] = { const char * const gpio_list[] = {
"xlnx,xps-gpio-1.00.a", "xlnx,xps-gpio-1.00.a",
"xlnx,opb-gpio-1.00.a", "xlnx,opb-gpio-1.00.a",
NULL NULL
......
...@@ -126,7 +126,7 @@ void __init init_IRQ(void) ...@@ -126,7 +126,7 @@ void __init init_IRQ(void)
0 0
}; };
#endif #endif
static char *intc_list[] = { const char * const intc_list[] = {
"xlnx,xps-intc-1.00.a", "xlnx,xps-intc-1.00.a",
"xlnx,opb-intc-1.00.c", "xlnx,opb-intc-1.00.c",
"xlnx,opb-intc-1.00.b", "xlnx,opb-intc-1.00.b",
......
...@@ -258,7 +258,7 @@ void __init time_init(void) ...@@ -258,7 +258,7 @@ void __init time_init(void)
0 0
}; };
#endif #endif
char *timer_list[] = { const char * const timer_list[] = {
"xlnx,xps-timer-1.00.a", "xlnx,xps-timer-1.00.a",
"xlnx,opb-timer-1.00.b", "xlnx,opb-timer-1.00.b",
"xlnx,opb-timer-1.00.a", "xlnx,opb-timer-1.00.a",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment