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
..
2007-03-02 20:44:51 -08:00
2007-03-02 20:44:51 -08:00
2007-03-02 20:44:51 -08:00
2007-03-02 20:44:51 -08:00
2007-03-02 20:44:51 -08:00
2007-03-09 11:47:19 -05:00
2007-02-17 15:37:14 -05:00
2007-03-09 11:51:44 -05:00
2007-03-09 11:57:09 -05:00
2007-02-09 09:14:07 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-03-02 20:44:51 -08:00
2007-01-30 09:36:01 -05:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2007-03-02 20:44:51 -08:00
2007-03-02 20:44:51 -08:00
2007-02-17 15:37:14 -05:00
2007-02-06 19:03:56 -05:00
2007-02-05 16:58:47 -05:00
2006-09-13 13:24:59 -04:00
2007-03-02 20:44:51 -08:00
2007-02-02 00:46:35 -08:00
2006-09-13 13:24:59 -04:00
2007-02-09 16:23:17 +00:00
2007-02-09 16:23:17 +00:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-10-08 12:32:36 -07:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-12-09 09:41:18 -08:00
2006-12-02 00:11:56 -05:00
2007-01-30 14:11:12 -08:00
2007-02-17 15:37:14 -05:00
2006-12-02 00:11:56 -05:00
2007-02-07 18:50:53 -05:00
2007-02-05 16:58:47 -05:00
2007-02-05 16:58:47 -05:00
2007-02-09 08:28:48 -08:00
2007-02-08 10:42:37 -05:00
2007-02-17 15:30:47 -05:00
2006-09-13 13:24:59 -04:00
2007-03-02 20:16:10 -05:00
2007-03-06 06:10:01 -05:00
2006-12-04 02:00:34 -05:00
2006-12-02 21:22:37 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-03-02 20:44:51 -08:00
2006-11-22 14:57:56 +00:00
2007-03-02 20:44:51 -08:00
2006-09-13 13:24:59 -04:00
2007-03-06 06:14:54 -05:00
2006-09-13 13:24:59 -04:00
2007-02-27 04:16:04 -05:00
2007-02-27 04:16:04 -05:00
2007-02-17 15:30:47 -05:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2007-02-09 09:14:07 -08:00
2007-02-05 16:58:46 -05:00
2007-02-05 16:58:43 -05:00
2007-02-27 04:16:03 -05:00
2007-02-27 04:16:03 -05:00
2007-03-02 20:44:51 -08:00
2006-09-13 13:24:59 -04:00
2007-03-02 20:44:51 -08:00
2007-02-26 11:42:47 -08:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2007-03-02 20:44:51 -08:00
2007-02-09 09:14:07 -08:00
2006-12-02 00:11:56 -05:00