summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/heartbeat.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-09-13 21:23:49 -0700
committerMichal Simek <monstr@monstr.eu>2010-10-21 15:51:45 +1000
commit92ee8bd468b43938319d6ff51afb071b6e9ef758 (patch)
tree0fbd7b5f7c5f84cba44398b8fe60782fafba732a /arch/microblaze/kernel/heartbeat.c
parent099a2f4284eba5da2708d0e8fe0797dc095d47ca (diff)
downloadlinux-92ee8bd468b43938319d6ff51afb071b6e9ef758.tar.bz2
microblaze: Use static const char * const where possible
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/heartbeat.c')
-rw-r--r--arch/microblaze/kernel/heartbeat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/microblaze/kernel/heartbeat.c b/arch/microblaze/kernel/heartbeat.c
index 522751737cfa..f8bc2d79ee35 100644
--- a/arch/microblaze/kernel/heartbeat.c
+++ b/arch/microblaze/kernel/heartbeat.c
@@ -47,11 +47,11 @@ void setup_heartbeat(void)
struct device_node *gpio = NULL;
int *prop;
int j;
- char *gpio_list[] = {
- "xlnx,xps-gpio-1.00.a",
- "xlnx,opb-gpio-1.00.a",
- NULL
- };
+ const char * const gpio_list[] = {
+ "xlnx,xps-gpio-1.00.a",
+ "xlnx,opb-gpio-1.00.a",
+ NULL
+ };
for (j = 0; gpio_list[j] != NULL; j++) {
gpio = of_find_compatible_node(NULL, NULL, gpio_list[j]);