]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/microblaze/kernel/heartbeat.c
microblaze: Use static const char * const where possible
[net-next-2.6.git] / arch / microblaze / kernel / heartbeat.c
index 522751737cfad936fe5193a93fd0105c874c04cc..f8bc2d79ee350fffacc5f7ac5a0aa5b57679ea09 100644 (file)
@@ -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]);