diff options
author | Joe Perches <joe@perches.com> | 2010-09-13 20:23:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-15 05:22:03 +0200 |
commit | 6fa59c9da82adcc7d63a2776969548e2b45448e0 (patch) | |
tree | bb84448ee946daf077726d9821c4bfa214647a41 /drivers/net/3c515.c | |
parent | drivers/isdn: Use static const char * const where possible (diff) | |
download | linux-6fa59c9da82adcc7d63a2776969548e2b45448e0.tar.xz linux-6fa59c9da82adcc7d63a2776969548e2b45448e0.zip |
drivers/net: Use static const char * const where possible
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/3c515.c')
-rw-r--r-- | drivers/net/3c515.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/3c515.c b/drivers/net/3c515.c index 8a6eb0c44486..cdf7226a7c43 100644 --- a/drivers/net/3c515.c +++ b/drivers/net/3c515.c @@ -662,7 +662,9 @@ static int corkscrew_setup(struct net_device *dev, int ioaddr, pr_warning(" *** Warning: this IRQ is unlikely to work! ***\n"); { - 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" + }; __u32 config; EL3WINDOW(3); vp->available_media = inw(ioaddr + Wn3_Options); |