diff options
Diffstat (limited to 'arch/microblaze/kernel/timer.c')
-rw-r--r-- | arch/microblaze/kernel/timer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/microblaze/kernel/timer.c b/arch/microblaze/kernel/timer.c index ec7df67006ba..da9d1e56108b 100644 --- a/arch/microblaze/kernel/timer.c +++ b/arch/microblaze/kernel/timer.c | |||
@@ -258,12 +258,12 @@ void __init time_init(void) | |||
258 | 0 | 258 | 0 |
259 | }; | 259 | }; |
260 | #endif | 260 | #endif |
261 | char *timer_list[] = { | 261 | const char * const timer_list[] = { |
262 | "xlnx,xps-timer-1.00.a", | 262 | "xlnx,xps-timer-1.00.a", |
263 | "xlnx,opb-timer-1.00.b", | 263 | "xlnx,opb-timer-1.00.b", |
264 | "xlnx,opb-timer-1.00.a", | 264 | "xlnx,opb-timer-1.00.a", |
265 | NULL | 265 | NULL |
266 | }; | 266 | }; |
267 | 267 | ||
268 | for (i = 0; timer_list[i] != NULL; i++) { | 268 | for (i = 0; timer_list[i] != NULL; i++) { |
269 | timer = of_find_compatible_node(NULL, NULL, timer_list[i]); | 269 | timer = of_find_compatible_node(NULL, NULL, timer_list[i]); |