From: Andrew Morton <[EMAIL PROTECTED]>

WARNING: drivers/net/ni52.o - Section mismatch: reference to 
.init.text:ni52_probe from .text between 'init_module' (at offset 0x997) and 
'ni52_close'
WARNING: drivers/net/ni65.o - Section mismatch: reference to 
.init.text:ni65_probe from .text between 'init_module' (at offset 0x54a) and 
'ni65_stop_start'

Cc: Jeff Garzik <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/net/ni52.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/ni52.c~ni52-section-fix drivers/net/ni52.c
--- a/drivers/net/ni52.c~ni52-section-fix
+++ a/drivers/net/ni52.c
@@ -1323,7 +1323,7 @@ MODULE_PARM_DESC(irq, "NI5210 IRQ number
 MODULE_PARM_DESC(memstart, "NI5210 memory base address,required");
 MODULE_PARM_DESC(memend, "NI5210 memory end address,required");
 
-int init_module(void)
+int __init init_module(void)
 {
        if(io <= 0x0 || !memend || !memstart || irq < 2) {
                printk("ni52: Autoprobing not allowed for modules.\nni52: Set 
symbols 'io' 'irq' 'memstart' and 'memend'\n");
_
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to