projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6960d7c
)
mpc83xx: fix device registration on the RB600
author
Gabor Juhos
<juhosg@openwrt.org>
Thu, 11 Feb 2010 13:31:44 +0000
(13:31 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Thu, 11 Feb 2010 13:31:44 +0000
(13:31 +0000)
SVN-Revision: 19584
target/linux/mpc83xx/patches/001-rb600.patch
patch
|
blob
|
history
diff --git
a/target/linux/mpc83xx/patches/001-rb600.patch
b/target/linux/mpc83xx/patches/001-rb600.patch
index 98db9e226df369499ecb173cf74c2764e892d08e..1d2d1a909be5789e8d7b2e099cc7143b799d79ce 100644
(file)
--- 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",