summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-07-02 07:08:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-02 07:08:46 +0200
commit8afe2cb4d4af5b472adeac9132200dc8c9100821 (patch)
treeb6164ed60137b82e6e820a329999f4f0f515bd84 /common
parent12657cb99e1ca670da6a7cace3b238a42003e629 (diff)
parentfff76d57d2670a8f15c875355fb840665ebf8a3e (diff)
downloadbarebox-8afe2cb4d4af5b472adeac9132200dc8c9100821.tar.gz
barebox-8afe2cb4d4af5b472adeac9132200dc8c9100821.tar.xz
Merge branch 'for-next-manual/oftree-linux-sync'
Diffstat (limited to 'common')
-rw-r--r--common/oftree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/oftree.c b/common/oftree.c
index 475d418849..aff4c28852 100644
--- a/common/oftree.c
+++ b/common/oftree.c
@@ -100,7 +100,7 @@ void of_print_property(const void *data, int len)
void of_print_cmdline(struct device_node *root)
{
- struct device_node *node = of_find_node_by_path(root, "/chosen");
+ struct device_node *node = of_find_node_by_path("/chosen");
const char *cmdline;
if (!node) {