git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
h8300
/
kernel
/
gpio.c
diff --git
a/arch/h8300/kernel/gpio.c
b/arch/h8300/kernel/gpio.c
index
795682b
..
d195568
100644
(file)
--- a/
arch/h8300/kernel/gpio.c
+++ b/
arch/h8300/kernel/gpio.c
@@
-122,7
+122,7
@@
int h8300_get_gpio_dir(int port_bit)
static char *port_status(int portno)
{
static char result[10];
static char *port_status(int portno)
{
static char result[10];
-
const static
char io[2]={'I','O'};
+
static const
char io[2]={'I','O'};
char *rp;
int c;
unsigned char used,ddr;
char *rp;
int c;
unsigned char used,ddr;
@@
-143,7
+143,7
@@
static int gpio_proc_read(char *buf, char **start, off_t offset,
int len, int *unused_i, void *unused_v)
{
int c,outlen;
int len, int *unused_i, void *unused_v)
{
int c,outlen;
-
const static
char port_name[]="123456789ABCDEFGH";
+
static const
char port_name[]="123456789ABCDEFGH";
outlen = 0;
for (c = 0; c < MAX_PORT; c++) {
if (ddrs[c] == NULL)
outlen = 0;
for (c = 0; c < MAX_PORT; c++) {
if (ddrs[c] == NULL)