drivers/net/*.c: Use static const
[deliverable/linux.git] / drivers / net / 3c501.c
index 1776ab61b05fffedc7a18eaa755de9a64451f15f..9e1c03eb97ae5e3ce05de34b0aae69c2b3507680 100644 (file)
@@ -158,8 +158,8 @@ static int mem_start;
 struct net_device * __init el1_probe(int unit)
 {
        struct net_device *dev = alloc_etherdev(sizeof(struct net_local));
-       static unsigned ports[] = { 0x280, 0x300, 0};
-       unsigned *port;
+       static const unsigned ports[] = { 0x280, 0x300, 0};
+       const unsigned *port;
        int err = 0;
 
        if (!dev)
This page took 0.033672 seconds and 5 git commands to generate.