summaryrefslogtreecommitdiff
path: root/drivers/net/3c507.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-12-22 00:26:15 +0300
committerDavid S. Miller <davem@davemloft.net>2010-12-22 00:26:15 +0300
commit503b1a529a6b62b31904bab4699752c523cf76b2 (patch)
treec78d1850e9409295ad720b56ceb0d28efe9d0e39 /drivers/net/3c507.c
parent4b4f54670859074cf7670cc6fa96fe34a65846d9 (diff)
parent215faf9c5f6e319e97edea9e178123e07825c14d (diff)
downloadlinux-503b1a529a6b62b31904bab4699752c523cf76b2.tar.xz
Merge branch '20101221_static_const' of git://repo.or.cz/linux-2.6/trivial-mods
Diffstat (limited to 'drivers/net/3c507.c')
-rw-r--r--drivers/net/3c507.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/3c507.c b/drivers/net/3c507.c
index 475a66d95b34..1e945551c144 100644
--- a/drivers/net/3c507.c
+++ b/drivers/net/3c507.c
@@ -311,8 +311,8 @@ static int mem_start;
struct net_device * __init el16_probe(int unit)
{
struct net_device *dev = alloc_etherdev(sizeof(struct net_local));
- static unsigned ports[] = { 0x300, 0x320, 0x340, 0x280, 0};
- unsigned *port;
+ static const unsigned ports[] = { 0x300, 0x320, 0x340, 0x280, 0};
+ const unsigned *port;
int err = -ENODEV;
if (!dev)