diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-06-10 16:30:10 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-11 12:16:01 -0400 |
commit | a2bd2ec8d1bef7479d26d375162963106757e8e9 (patch) | |
tree | dc68527991d0bdaddec167bbe8ab4119c82faf7e /drivers/net/smc-ultra.c | |
parent | 29f9f6d234753da97b74402f746981c63ec0b2f0 (diff) |
[PATCH] smc ethernet: fix section mismatch warnings
Priority: not critical; makes init code discardable.
Removes one duplicate assignment.
Fix section mismatch warnings:
WARNING: drivers/net/smc-ultra.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x369) and 'cleanup_card'
WARNING: drivers/net/smc-ultra32.o - Section mismatch: reference to .init.text:ultra32_probe from .text between 'init_module' (at offset 0x254) and 'cleanup_module'
WARNING: drivers/net/smc9194.o - Section mismatch: reference to .init.text:smc_init from .text between 'init_module' (at offset 0x997) and 'cleanup_module'
WARNING: drivers/net/smc9194.o - Section mismatch: reference to .init.data: from .data between 'smcdev.0' (at offset 0x44) and '__param_str_io'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/smc-ultra.c')
-rw-r--r-- | drivers/net/smc-ultra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc-ultra.c b/drivers/net/smc-ultra.c index 3db30cd0625e..5b4e8529d4ab 100644 --- a/drivers/net/smc-ultra.c +++ b/drivers/net/smc-ultra.c | |||
@@ -553,7 +553,7 @@ MODULE_LICENSE("GPL"); | |||
553 | 553 | ||
554 | /* This is set up so that only a single autoprobe takes place per call. | 554 | /* This is set up so that only a single autoprobe takes place per call. |
555 | ISA device autoprobes on a running machine are not recommended. */ | 555 | ISA device autoprobes on a running machine are not recommended. */ |
556 | int | 556 | int __init |
557 | init_module(void) | 557 | init_module(void) |
558 | { | 558 | { |
559 | struct net_device *dev; | 559 | struct net_device *dev; |