Ralf Baechle 95c408a95f 3c59x: Fix several modpost warnings
WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x4580) and 'vortex_eisa_remove'
WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x4584) and 'vortex_eisa_remove'
WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x4588) and 'vortex_eisa_remove'
WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x458c) and 'vortex_eisa_remove'

Fixed by:

 o move definition of vortex_eisa_driver below the functions it references.
 o remove now unnecessary prototypes for vortex_eisa_probe and
   vortex_eisa_remove.
 o Make vortex_eisa_probe an __init function.
 o Make vortex_eisa_remove a __devexit function.
 o Wrap vortex_eisa_driver reference to vortex_eisa_remove with
   __devexit_p().

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

 drivers/net/3c59x.c |   28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 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