aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/3c527.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-12-21 05:16:08 -0500
committerJoe Perches <joe@perches.com>2010-12-21 05:16:08 -0500
commitb6bc765067ece933cc3dc7f5e95665a89100b1d5 (patch)
treebbf55c2d80e839eb4c0ab23bcbdd656d14b3f5fe /drivers/net/3c527.c
parent895950c2a6565d9eefda4a38b00fa28537e39fcb (diff)
drivers/net/*.c: Use static const
Using static const generally increases object text and decreases data size. It also generally decreases overall object size. Signed-off-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'drivers/net/3c527.c')
-rw-r--r--drivers/net/3c527.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/3c527.c b/drivers/net/3c527.c
index 013b7c396663..8c094bae8bf3 100644
--- a/drivers/net/3c527.c
+++ b/drivers/net/3c527.c
@@ -317,13 +317,13 @@ static int __init mc32_probe1(struct net_device *dev, int slot)
317 u8 POS; 317 u8 POS;
318 u32 base; 318 u32 base;
319 struct mc32_local *lp = netdev_priv(dev); 319 struct mc32_local *lp = netdev_priv(dev);
320 static u16 mca_io_bases[]={ 320 static const u16 mca_io_bases[] = {
321 0x7280,0x7290, 321 0x7280,0x7290,
322 0x7680,0x7690, 322 0x7680,0x7690,
323 0x7A80,0x7A90, 323 0x7A80,0x7A90,
324 0x7E80,0x7E90 324 0x7E80,0x7E90
325 }; 325 };
326 static u32 mca_mem_bases[]={ 326 static const u32 mca_mem_bases[] = {
327 0x00C0000, 327 0x00C0000,
328 0x00C4000, 328 0x00C4000,
329 0x00C8000, 329 0x00C8000,
@@ -333,7 +333,7 @@ static int __init mc32_probe1(struct net_device *dev, int slot)
333 0x00D8000, 333 0x00D8000,
334 0x00DC000 334 0x00DC000
335 }; 335 };
336 static char *failures[]={ 336 static const char * const failures[] = {
337 "Processor instruction", 337 "Processor instruction",
338 "Processor data bus", 338 "Processor data bus",
339 "Processor data bus", 339 "Processor data bus",