r8169: move PHY regs tables to .rodata
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 25 Nov 2009 23:54:21 +0000 (15:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Nov 2009 23:54:21 +0000 (15:54 -0800)
commit350f75960c8ba317935b4274c56c16412e085b08
tree9a7f6c04efeb5a1d4763c45810eb17610925e26d
parentbc74b0c8af17458ecae77f725e507ab5fd100105
r8169: move PHY regs tables to .rodata

As side effect, consume less stack.

-rtl8169_get_mac_version [vmlinux]: 432
-rtl8169_init_one [vmlinux]: 376
+rtl8169_init_one [vmlinux]: 136

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c