]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: ethernet: cpsw: Search childs for slave nodes
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 4 Oct 2013 12:44:39 +0000 (14:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Oct 2013 19:19:31 +0000 (15:19 -0400)
commitf468b10e3de6c5f90a14b9c82f1403a2651cef35
tree6c3fa78b4dd2b17f0b7dc6cfe5c9798dc490e18d
parentd45ed4a4e33ae103053c0a53d280014e7101bb5c
net: ethernet: cpsw: Search childs for slave nodes

The current implementation searches the whole DT for nodes named
"slave".

This patch changes it to search only child nodes for slaves.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c