summaryrefslogtreecommitdiffstats
path: root/drivers/net/e2100.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-15 08:00:00 +0200
committerJeff Garzik <jeff@garzik.org>2006-08-19 23:40:15 +0200
commitd543cbb6d192313d9027ed09c7a1e085b1234082 (patch)
tree32be5033c73d5ea47ec05b7147dcaf33116dc4cb /drivers/net/e2100.c
parent[PATCH] at1700 section fix (diff)
downloadlinux-d543cbb6d192313d9027ed09c7a1e085b1234082.tar.xz
linux-d543cbb6d192313d9027ed09c7a1e085b1234082.zip
[PATCH] e2100 section fix
WARNING: drivers/net/e2100.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0xd9) and 'e21_reset_8390' 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/e2100.c')
-rw-r--r--drivers/net/e2100.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e2100.c b/drivers/net/e2100.c
index e5c5cd2a2712..e4e733a380e3 100644
--- a/drivers/net/e2100.c
+++ b/drivers/net/e2100.c
@@ -425,8 +425,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;