projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa59c9
)
drivers/net/pcmcia: Use static const char * const where possible
author
Joe Perches
<joe@perches.com>
Mon, 13 Sep 2010 18:23:54 +0000
(18:23 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 15 Sep 2010 03:22:03 +0000
(20:22 -0700)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcmcia/3c589_cs.c
patch
|
blob
|
history
diff --git
a/drivers/net/pcmcia/3c589_cs.c
b/drivers/net/pcmcia/3c589_cs.c
index 7f2baf5eae26a1543a87f681379c71df95638d2c..35562a395770044b254d10b1fdbe8dc834b93445 100644
(file)
--- a/
drivers/net/pcmcia/3c589_cs.c
+++ b/
drivers/net/pcmcia/3c589_cs.c
@@
-266,7
+266,7
@@
static int tc589_config(struct pcmcia_device *link)
__be16 *phys_addr;
int ret, i, j, multi = 0, fifo;
unsigned int ioaddr;
-
char *
ram_split[] = {"5:3", "3:1", "1:1", "3:5"};
+
static const char * const
ram_split[] = {"5:3", "3:1", "1:1", "3:5"};
u8 *buf;
size_t len;