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/eth16i.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 '')
-rw-r--r-- | drivers/net/eth16i.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/eth16i.c b/drivers/net/eth16i.c index 10e39f2b31c3..ce22e15a3776 100644 --- a/drivers/net/eth16i.c +++ b/drivers/net/eth16i.c @@ -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) { |