summaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches/110-ixp4xx_net_driver_fix_mac_handling.patch
blob: 6adf4995ba4017f20b4f80b6f5050967d2d56959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
 drivers/net/ixp4xx/mac_driver.c |   24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

Index: linux-2.6.21.7/drivers/net/ixp4xx/mac_driver.c
===================================================================
--- linux-2.6.21.7.orig/drivers/net/ixp4xx/mac_driver.c
+++ linux-2.6.21.7/drivers/net/ixp4xx/mac_driver.c
@@ -842,7 +842,7 @@ static void __exit finish_mac(void)
 	}
 }
 
-module_init(init_mac);
+late_initcall(init_mac);
 module_exit(finish_mac);
 
 MODULE_LICENSE("GPL");