diff options
author | Andrew Morton <akpm@osdl.org> | 2006-08-15 06:00:06 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-19 21:40:17 (GMT) |
commit | 5e5fa01d55e9949660a89b23f4a43884eaf49097 (patch) | |
tree | 14be2d40add932e7313099740c0990c8814c3851 /drivers/net/wd.c | |
parent | daca7cd7612639848c39744e02dab537755b31a1 (diff) | |
download | linux-fsl-qoriq-5e5fa01d55e9949660a89b23f4a43884eaf49097.tar.xz |
[PATCH] wd section fix
WARNING: drivers/net/wd.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0xfd) and 'wd_open'
WARNING: drivers/net/wd.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x14b) and 'wd_open'
WARNING: drivers/net/wd.o - Section mismatch: reference to .init.data:wd_portlist from .text between 'init_module' (at offset 0x17f) and 'wd_open'
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/wd.c')
-rw-r--r-- | drivers/net/wd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wd.c b/drivers/net/wd.c index 7caa8dc..b1ba187 100644 --- a/drivers/net/wd.c +++ b/drivers/net/wd.c @@ -500,8 +500,8 @@ MODULE_LICENSE("GPL"); /* This is set up so that only a single autoprobe takes place per call. ISA device autoprobes on a running machine are not recommended. */ -int -init_module(void) + +int __init init_module(void) { struct net_device *dev; int this_dev, found = 0; |