make gpio conformant to generic gpio spec.
[openwrt/svn-archive/archive.git] / target / linux / ar7 / files / arch / mips / ar7 / gpio.c
index e18dfe873a89cfc91ca1264471e50c7e8e780596..11f300fead56a0149e81c5a28df974f23e33823b 100644 (file)
@@ -20,9 +20,9 @@
 
 #include <asm/ar7/gpio.h>
 
 
 #include <asm/ar7/gpio.h>
 
-static char *ar7_gpio_list[AR7_GPIO_MAX] = { 0, };
+static const char *ar7_gpio_list[AR7_GPIO_MAX] = { 0, };
 
 
-int gpio_request(unsigned gpio, char *label)
+int gpio_request(unsigned gpio, const char *label)
 {
        if (gpio >= AR7_GPIO_MAX)
                return -EINVAL;
 {
        if (gpio >= AR7_GPIO_MAX)
                return -EINVAL;