diff options
author | Andrew Morton <akpm@osdl.org> | 2006-08-15 08:00:07 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-19 23:40:17 +0200 |
commit | 1e13b0d82d24ac3c8b2f16a09dd9ce537cad134c (patch) | |
tree | 635d9f406619002c29cdb09c59d9ad0537fa66f9 /drivers/net/ni65.c | |
parent | [PATCH] wd section fix (diff) | |
download | linux-1e13b0d82d24ac3c8b2f16a09dd9ce537cad134c.tar.xz linux-1e13b0d82d24ac3c8b2f16a09dd9ce537cad134c.zip |
[PATCH] ni65 section fix
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 <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ni65.c')
-rw-r--r-- | drivers/net/ni65.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ni65.c b/drivers/net/ni65.c index bb42ff218484..810cc572f5f7 100644 --- a/drivers/net/ni65.c +++ b/drivers/net/ni65.c @@ -1253,7 +1253,7 @@ MODULE_PARM_DESC(irq, "ni6510 IRQ number (ignored for some cards)"); MODULE_PARM_DESC(io, "ni6510 I/O base address"); MODULE_PARM_DESC(dma, "ni6510 ISA DMA channel (ignored for some cards)"); -int init_module(void) +int __init init_module(void) { dev_ni65 = ni65_probe(-1); return IS_ERR(dev_ni65) ? PTR_ERR(dev_ni65) : 0; |