]> git.baikalelectronics.ru Git - kernel.git/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)
commite97ef3761b9629c5116d3bfbf45d143460ddaa98
tree43d7e49e429afe62b61920ba4d8d4278bcf6ced1
parenta86568d5411519c52941abd4111eb3b75f63c1b7
[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