Commit 6fa59c9d authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

drivers/net: Use static const char * const where possible

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6f68ad7f
......@@ -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);
......
......@@ -637,7 +637,9 @@ static void eth16i_initialize(struct net_device *dev, int boot)
/* Set interface port type */
if(boot) {
char *porttype[] = {"BNC", "DIX", "TP", "AUTO", "FROM_EPROM" };
static const char * const porttype[] = {
"BNC", "DIX", "TP", "AUTO", "FROM_EPROM"
};
switch(dev->if_port)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment