diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-06-10 16:32:12 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-11 12:16:01 -0400 |
commit | 29f9f6d234753da97b74402f746981c63ec0b2f0 (patch) | |
tree | e563c6e8b676255300e4f6fa9efc3a15fa458dc9 /drivers | |
parent | 5d1f16c6c4d64d1e4f53e277e39c0ada89f00a48 (diff) |
[PATCH] hp ethernet: fix section mismatches
Priority: not critical; makes init code discardable.
Fix section mismatch warnings:
WARNING: drivers/net/hp-plus.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x387) and 'cleanup_card'
WARNING: drivers/net/hp.o - Section mismatch: reference to .init.data: from .text between 'hp_init_card' (at offset 0x310) and 'init_module'
WARNING: drivers/net/hp.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x367) and 'cleanup_card'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/hp-plus.c | 2 | ||||
-rw-r--r-- | drivers/net/hp.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/hp-plus.c b/drivers/net/hp-plus.c index 0d7a6250e346..e26a3e407d70 100644 --- a/drivers/net/hp-plus.c +++ b/drivers/net/hp-plus.c | |||
@@ -446,7 +446,7 @@ MODULE_LICENSE("GPL"); | |||
446 | 446 | ||
447 | /* This is set up so that only a single autoprobe takes place per call. | 447 | /* This is set up so that only a single autoprobe takes place per call. |
448 | ISA device autoprobes on a running machine are not recommended. */ | 448 | ISA device autoprobes on a running machine are not recommended. */ |
449 | int | 449 | int __init |
450 | init_module(void) | 450 | init_module(void) |
451 | { | 451 | { |
452 | struct net_device *dev; | 452 | struct net_device *dev; |
diff --git a/drivers/net/hp.c b/drivers/net/hp.c index cf9fb3698a6b..551a71b3c5fd 100644 --- a/drivers/net/hp.c +++ b/drivers/net/hp.c | |||
@@ -384,7 +384,7 @@ hp_block_output(struct net_device *dev, int count, | |||
384 | } | 384 | } |
385 | 385 | ||
386 | /* This function resets the ethercard if something screws up. */ | 386 | /* This function resets the ethercard if something screws up. */ |
387 | static void | 387 | static void __init |
388 | hp_init_card(struct net_device *dev) | 388 | hp_init_card(struct net_device *dev) |
389 | { | 389 | { |
390 | int irq = dev->irq; | 390 | int irq = dev->irq; |
@@ -409,7 +409,7 @@ MODULE_LICENSE("GPL"); | |||
409 | 409 | ||
410 | /* This is set up so that only a single autoprobe takes place per call. | 410 | /* This is set up so that only a single autoprobe takes place per call. |
411 | ISA device autoprobes on a running machine are not recommended. */ | 411 | ISA device autoprobes on a running machine are not recommended. */ |
412 | int | 412 | int __init |
413 | init_module(void) | 413 | init_module(void) |
414 | { | 414 | { |
415 | struct net_device *dev; | 415 | struct net_device *dev; |