kernel_optimize_test/drivers/net
Ralf Baechle 82c00b62c8 ibmtr: Drain rich supply of modpost warnings.
Building ibmtr as a module produces a spectacular pile of modpost warnings:

WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x450) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x454) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x458) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x45c) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x4e8) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x4ec) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x4f0) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x4f4) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:find_turbo_adapters from .text between 'ibmtr_probe_card' (at offset 0x500) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:find_turbo_adapters from .text between 'ibmtr_probe_card' (at offset 0x504) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:find_turbo_adapters from .text between 'ibmtr_probe_card' (at offset 0x508) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:find_turbo_adapters from .text between 'ibmtr_probe_card' (at offset 0x50c) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x520) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x524) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x528) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x534) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data: from .text between 'ibmtr_probe_card' (at offset 0x540) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data: from .text between 'ibmtr_probe_card' (at offset 0x544) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data: from .text between 'ibmtr_probe_card' (at offset 0x548) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data: from .text between 'ibmtr_probe_card' (at offset 0x54c) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x558) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x55c) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x560) and 'ibmtr_reset_timer'
WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x564) and 'ibmtr_reset_timer'

Fix by making ibmtr_probe an __init function.

While at it, move move ibmtr_probe_card below ibmtr_probe so the protoype
for ibmtr_probe can be deleted.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

 drivers/net/tokenring/ibmtr.c |   25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-03-09 11:57:09 -05:00
..
appletalk
arcnet
arm
atl1 [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
bonding bonding: Improve IGMP join processing 2007-03-06 06:08:11 -05:00
chelsio [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
cris
cxgb3 [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
e1000 [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
ehea [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
fec_8xx
fs_enet
hamradio
ibm_emac
irda
ixgb [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
ixp2000
myri10ge myri10ge: add a wc_enabled flag to myri10ge_priv 2007-03-09 11:51:32 -05:00
netxen netxen: fix warnings 2007-03-09 11:47:19 -05:00
pcmcia
phy
sk98lin
skfp net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff 2007-02-27 04:30:42 -05:00
tokenring ibmtr: Drain rich supply of modpost warnings. 2007-03-09 11:57:09 -05:00
tulip __devinit & __devexit cleanups for de2104x driver 2007-03-06 06:10:02 -05:00
wan z85230: Fix FIFO handling 2007-03-09 11:51:44 -05:00
wireless Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream-fixes 2007-03-02 19:40:24 -05:00
3c59x.c 3c59x: Fix several modpost warnings 2007-03-09 11:57:09 -05:00
3c501.c
3c501.h
3c503.c
3c503.h
3c505.c
3c505.h
3c507.c
3c509.c
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
8139too.c
8390.c
8390.h
82596.c
a2065.c
a2065.h
ac3200.c
acenic_firmware.h
acenic.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
acenic.h
amd8111e.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c
atari_bionet.c
atari_pamsnet.c
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
b44.c
b44.h
bmac.c
bmac.h
bnx2_fw2.h
bnx2_fw.h
bnx2.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
bnx2.h
bsd_comp.c
cassini.c
cassini.h
cs89x0.c
cs89x0.h
de600.c net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff 2007-02-27 04:30:42 -05:00
de600.h
de620.c
de620.h
declance.c
defxx.c
defxx.h
depca.c
depca.h
dgrs_asstruct.h
dgrs_bcomm.h
dgrs_es4h.h
dgrs_ether.h
dgrs_firmware.c
dgrs_i82596.h
dgrs_plx9060.h
dgrs.c
dgrs.h
dl2k.c
dl2k.h
dm9000.c
dm9000.h
dummy.c
e100.c
e2100.c
eepro100.c
eepro.c
eexpress.c
eexpress.h
epic100.c
eql.c
es3210.c
eth16i.c
ewrk3.c
ewrk3.h
fealnx.c
fec.c
fec.h
forcedeth.c forcedeth: fix checksum feature in mcp65 2007-02-27 04:16:02 -05:00
gianfar_ethtool.c
gianfar_mii.c
gianfar_mii.h
gianfar_sysfs.c
gianfar.c [GIANFAR]: Fix compile error in latest git 2007-03-05 13:29:55 -08:00
gianfar.h
hamachi.c
hp100.c
hp100.h
hp-plus.c
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c
ibmveth.h
ifb.c
ioc3-eth.c
isa-skeleton.c
iseries_veth.c
jazzsonic.c
Kconfig spidernet: spidernet: add support for Celleb 2007-02-27 04:16:03 -05:00
lance.c
lasi_82596.c
lib8390.c
LICENSE.SRC
lne390.c
loopback.c
lp486e.c
mac89x0.c
mac8390.c
macb.c
macb.h
mace.c
mace.h
macmace.c
macsonic.c
Makefile
meth.c
meth.h
mii.c
mipsnet.c
mipsnet.h
mv643xx_eth.c mv643xx: Clear pending interrupts before calling request_irq 2007-03-09 11:51:32 -05:00
mv643xx_eth.h Fix mv643xx_eth compilation. 2007-03-02 20:16:10 -05:00
mvme147.c
myri_code.h
myri_sbus.c
myri_sbus.h
natsemi.c natsemi: netpoll fixes 2007-03-06 06:10:01 -05:00
ne2.c
ne2k-pci.c
ne3210.c
ne-h8300.c
ne.c
netconsole.c
netx-eth.c
ni52.c net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff 2007-02-27 04:30:42 -05:00
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
ns83820.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
pasemi_mac.c
pasemi_mac.h
pci-skeleton.c
pcnet32.c pcnet32: Fix PCnet32 performance bug on non-coherent architecutres 2007-03-06 06:14:54 -05:00
plip.c
ppp_async.c
ppp_deflate.c
ppp_generic.c
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c [PPPOE]: Use ifindex instead of device pointer in key lookups. 2007-03-05 13:25:28 -08:00
pppox.c
qla3xxx.c qla3xxx: bugfix for line omitted in previous patch. 2007-03-02 20:16:10 -05:00
qla3xxx.h qla3xxx: Kernic Panic on pSeries under stress conditions 2007-02-27 04:21:45 -05:00
r8169.c r8169: fix a race between PCI probe and dev_open 2007-03-09 11:51:32 -05:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h S2IO: Added a loadable parameter to enable or disable vlan stripping in frame. 2007-02-27 04:27:11 -05:00
s2io.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
s2io.h S2IO: Added a loadable parameter to enable or disable vlan stripping in frame. 2007-02-27 04:27:11 -05:00
saa9730.c
saa9730.h
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c sgiseeq: Don't include unnecessary headerfiles. 2007-02-27 04:21:25 -05:00
sgiseeq.h
shaper.c
sis190.c
sis900.c sis900 warning fixes 2007-03-06 06:14:54 -05:00
sis900.h
skge.c skge: comma consistency 2007-02-27 04:16:04 -05:00
skge.h skge: fix transmitter flow control 2007-02-27 04:16:04 -05:00
sky2.c sky2: turn off Rx checksum on bad hardware 2007-03-09 11:51:32 -05:00
sky2.h
slhc.c
slip.c
slip.h
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smc-mca.c
smc-ultra32.c
smc-ultra.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c spidernet: janitorial, typos 2007-02-27 04:16:03 -05:00
spider_net.h spidernet: janitorial, typos 2007-02-27 04:16:03 -05:00
starfire_firmware.h
starfire_firmware.pl
starfire.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
stnic.c
sun3_82586.c net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff 2007-02-27 04:30:42 -05:00
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c
sungem_phy.c sungem_phy: support bcm5461 phy, autoneg. 2007-02-27 04:16:02 -05:00
sungem_phy.h sungem_phy: support bcm5461 phy, autoneg. 2007-02-27 04:16:02 -05:00
sungem.c
sungem.h
sunhme.c
sunhme.h
sunlance.c
sunqe.c
sunqe.h
tc35815.c jmr3927: do not call tc35815_killall(). 2007-03-02 19:55:07 -05:00
tg3.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
tg3.h
tlan.c
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c
typhoon-firmware.h
typhoon.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
typhoon.h
ucc_geth_phy.c
ucc_geth_phy.h
ucc_geth.c ucc_geth: returns NETDEV_TX_BUSY when BD ring is full 2007-03-06 06:10:02 -05:00
ucc_geth.h
via-rhine.c via-rhine: set avoid_D3 for broken BIOSes 2007-03-09 11:47:19 -05:00
via-velocity.c
via-velocity.h
wd.c
yellowfin.c
znet.c
zorro8390.c