]> err.no Git - linux-2.6/commit
[TG3]: Constify firmware structs
authorAndreas Mohr <andi@lisas.de>
Tue, 15 Aug 2006 06:54:30 +0000 (23:54 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:54:39 +0000 (14:54 -0700)
commit50da859d4e566fba90ebda87b843970d902c903e
tree43d7e49e429afe62b61920ba4d8d4278bcf6ced1
parent90d41122f79c8c3687d965dde4c6d30a6e0cac4c
[TG3]: Constify firmware structs

Constify largish areas of firmware data in Tigon3 ethernet driver.

non-const:

lsmod:
tg3                   101404  0

objdump -x:
.rodata 000003e8
.data 00004a0c

ls -l:
-rw-r--r-- 1 root root 114404 2006-08-19 21:36 drivers/net/tg3.ko

const:

lsmod:
tg3                   101404  0

objdump -x:
.rodata 000042c8
.data 00000b4c

ls -l:
-rw-r--r-- 1 root root 114532 2006-08-19 21:06 drivers/net/tg3.ko

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c