Browse Source

[PATCH] eexpress section fix

WARNING: drivers/net/eexpress.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x6c3) and 'eexp_hw_lasttxstat'
WARNING: drivers/net/eexpress.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x74f) and 'eexp_hw_lasttxstat'

Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Andrew Morton 18 years ago
parent
commit
b1176b95b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/eexpress.c

+ 1 - 1
drivers/net/eexpress.c

@@ -1698,7 +1698,7 @@ MODULE_LICENSE("GPL");
  * are specified, we verify and then use them.  If no parameters are given, we
  * are specified, we verify and then use them.  If no parameters are given, we
  * autoprobe for one card only.
  * autoprobe for one card only.
  */
  */
-int init_module(void)
+int __init init_module(void)
 {
 {
 	struct net_device *dev;
 	struct net_device *dev;
 	int this_dev, found = 0;
 	int this_dev, found = 0;