summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-14 23:00:04 -0700
committerJeff Garzik <jeff@garzik.org>2006-08-19 17:40:16 -0400
commitdab3d02ec05d16aab680de471cb5d20c5d4852e8 (patch)
treef70ca2ccbb33ecde64575170ac6079ac680c0802
parent3805f0e28ca313893b87e881201561d5c1857dd8 (diff)
downloadlinux-dab3d02ec05d16aab680de471cb5d20c5d4852e8.tar.gz
linux-dab3d02ec05d16aab680de471cb5d20c5d4852e8.tar.bz2
linux-dab3d02ec05d16aab680de471cb5d20c5d4852e8.zip
[PATCH] lne390 section fix
WARNING: drivers/net/lne390.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x100) and 'lne390_close' Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/lne390.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/lne390.c b/drivers/net/lne390.c
index 646e89fc3562..c0ec7f6abcb2 100644
--- a/drivers/net/lne390.c
+++ b/drivers/net/lne390.c
@@ -406,7 +406,7 @@ MODULE_PARM_DESC(mem, "memory base address(es)");
MODULE_DESCRIPTION("Mylex LNE390A/B EISA Ethernet driver");
MODULE_LICENSE("GPL");
-int init_module(void)
+int __init init_module(void)
{
struct net_device *dev;
int this_dev, found = 0;