diff options
author | Joe Perches <joe@perches.com> | 2010-12-21 02:16:08 -0800 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2010-12-21 02:16:08 -0800 |
commit | b6bc765067ece933cc3dc7f5e95665a89100b1d5 (patch) | |
tree | bbf55c2d80e839eb4c0ab23bcbdd656d14b3f5fe /drivers/net/eexpress.c | |
parent | 895950c2a6565d9eefda4a38b00fa28537e39fcb (diff) | |
download | op-kernel-dev-b6bc765067ece933cc3dc7f5e95665a89100b1d5.zip op-kernel-dev-b6bc765067ece933cc3dc7f5e95665a89100b1d5.tar.gz |
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/eexpress.c')
-rw-r--r-- | drivers/net/eexpress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eexpress.c b/drivers/net/eexpress.c index 12c37d2..48ee51b 100644 --- a/drivers/net/eexpress.c +++ b/drivers/net/eexpress.c @@ -1103,7 +1103,7 @@ static int __init eexp_hw_probe(struct net_device *dev, unsigned short ioaddr) dev->dev_addr[i] = ((unsigned char *)hw_addr)[5-i]; { - static char irqmap[]={0, 9, 3, 4, 5, 10, 11, 0}; + static const char irqmap[] = { 0, 9, 3, 4, 5, 10, 11, 0 }; unsigned short setupval = eexp_hw_readeeprom(ioaddr,0); /* Use the IRQ from EEPROM if none was given */ |