diff options
Diffstat (limited to 'arch/h8300/kernel/gpio.c')
-rw-r--r-- | arch/h8300/kernel/gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/h8300/kernel/gpio.c b/arch/h8300/kernel/gpio.c index 795682b873e2..d195568ca8a2 100644 --- a/arch/h8300/kernel/gpio.c +++ b/arch/h8300/kernel/gpio.c | |||
@@ -122,7 +122,7 @@ int h8300_get_gpio_dir(int port_bit) | |||
122 | static char *port_status(int portno) | 122 | static char *port_status(int portno) |
123 | { | 123 | { |
124 | static char result[10]; | 124 | static char result[10]; |
125 | const static char io[2]={'I','O'}; | 125 | static const char io[2]={'I','O'}; |
126 | char *rp; | 126 | char *rp; |
127 | int c; | 127 | int c; |
128 | unsigned char used,ddr; | 128 | unsigned char used,ddr; |
@@ -143,7 +143,7 @@ static int gpio_proc_read(char *buf, char **start, off_t offset, | |||
143 | int len, int *unused_i, void *unused_v) | 143 | int len, int *unused_i, void *unused_v) |
144 | { | 144 | { |
145 | int c,outlen; | 145 | int c,outlen; |
146 | const static char port_name[]="123456789ABCDEFGH"; | 146 | static const char port_name[]="123456789ABCDEFGH"; |
147 | outlen = 0; | 147 | outlen = 0; |
148 | for (c = 0; c < MAX_PORT; c++) { | 148 | for (c = 0; c < MAX_PORT; c++) { |
149 | if (ddrs[c] == NULL) | 149 | if (ddrs[c] == NULL) |