wifipineapple-openwrt/target/linux/ar7/patches-2.6.32/130-clocks_devices_init.patch

9 lines
220 B
Diff
Raw Normal View History

--- a/arch/mips/ar7/platform.c
+++ b/arch/mips/ar7/platform.c
@@ -606,4 +606,4 @@ static int __init ar7_register_devices(v
return res;
}
-arch_initcall(ar7_register_devices);
+device_initcall(ar7_register_devices);