summaryrefslogtreecommitdiff
path: root/target/linux/mpc83xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-02-11 13:31:44 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-02-11 13:31:44 +0000
commita99bc52758645c7c02f7bfbf2eef4c571f1b683b (patch)
tree7ebd692f9431cdd9b231f2ef44fc01e6ab5c4662 /target/linux/mpc83xx
parent6960d7c8db4aec8048eff0fec8edaaed74e313df (diff)
downloadmtk-20170518-a99bc52758645c7c02f7bfbf2eef4c571f1b683b.zip
mtk-20170518-a99bc52758645c7c02f7bfbf2eef4c571f1b683b.tar.gz
mtk-20170518-a99bc52758645c7c02f7bfbf2eef4c571f1b683b.tar.bz2
mpc83xx: fix device registration on the RB600
SVN-Revision: 19584
Diffstat (limited to 'target/linux/mpc83xx')
-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 98db9e2..1d2d1a9 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",