mpc83xx: fix device registration on the RB600

SVN-Revision: 19584
lede-17.01
Gabor Juhos 2010-02-11 13:31:44 +00:00
parent 6960d7c8db
commit a99bc52758
1 changed files with 2 additions and 2 deletions

View File

@ -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",