]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/eth16i.c
drivers/net: Use static const char * const where possible
[net-next-2.6.git] / drivers / net / eth16i.c
index 10e39f2b31c3993e7e5bce57be2944702235481a..ce22e15a3776b4c3ff9a3ebdb7f9a670bfab3219 100644 (file)
@@ -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)
                {