summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-11 13:31:44 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-11 13:31:44 +0000
commit478a8c21733b91d4854a1f559664de1af62be533 (patch)
tree6939360f2955160858502c640fc70dcd5c4dda29 /target
parent4036e30fb097e01c9a0dd672f15d0c8373905139 (diff)
mpc83xx: fix device registration on the RB600
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19584 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/mpc83xx/patches/001-rb600.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mpc83xx/patches/001-rb600.patch b/target/linux/mpc83xx/patches/001-rb600.patch
index 98db9e226..1d2d1a909 100644
--- a/target/linux/mpc83xx/patches/001-rb600.patch
+++ b/target/linux/mpc83xx/patches/001-rb600.patch
@@ -329,7 +329,7 @@
+ int node, size;
+
+ fw_dtb = (const void *)r3;
-+
++
+ /* Find the memory range. */
+ node = fdt_node_offset_by_prop_value(fw_dtb, -1, "device_type", "memory", sizeof("memory"));
+ reg = fdt_getprop(fw_dtb, node, "reg", &size);
@@ -704,7 +704,7 @@
+
+ return 0;
+}
-+device_initcall(rbppc_declare_of_platform_devices);
++machine_device_initcall(rb600, rbppc_declare_of_platform_devices);
+
+define_machine(rb600) {
+ .name = "MikroTik RouterBOARD 600 series",