openwrtv4/target/linux/ar7/patches-2.6.32/130-clocks_devices_init.patch
2010-05-09 18:13:37 +00:00

8 lines
220 B
Diff

--- 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);