diff options
author | Tom Rini <trini@konsulko.com> | 2016-10-13 20:03:33 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-13 20:03:33 -0400 |
commit | 4504062b271bf4d1cf256e4e87e156de6029e088 (patch) | |
tree | a0cac720a2687f2ed4ccf15f473d06bb7c8dcb07 /drivers/net/cpsw.c | |
parent | 44afdc4a12b9f6f48338e7975e4f08cfe90dba74 (diff) | |
parent | 42b7600d62ae288a8c12431d232b89b26ec61721 (diff) | |
download | u-boot-imx-4504062b271bf4d1cf256e4e87e156de6029e088.zip u-boot-imx-4504062b271bf4d1cf256e4e87e156de6029e088.tar.gz u-boot-imx-4504062b271bf4d1cf256e4e87e156de6029e088.tar.bz2 |
Merge git://git.denx.de/u-boot-fdt
Diffstat (limited to 'drivers/net/cpsw.c')
-rw-r--r-- | drivers/net/cpsw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index d1f024e..cbce683 100644 --- a/drivers/net/cpsw.c +++ b/drivers/net/cpsw.c @@ -1348,7 +1348,7 @@ static int cpsw_eth_ofdata_to_platdata(struct udevice *dev) active_slave = fdtdec_get_int(fdt, node, "active_slave", 0); priv->data.active_slave = active_slave; - fdt_for_each_subnode(fdt, subnode, node) { + fdt_for_each_subnode(subnode, fdt, node) { int len; const char *name; |