Check that the number of available slaves passed from DT matches the
value of the slaves property in the cpsw node. Otherwise, priv-slaves
would be the wrong size.
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
drivers/net/ethernet/ti/cpsw.c | 17 +
1 file changed, 17
On 12/3/2012 7:19 PM, Jan Luebbe wrote:
Check that the number of available slaves passed from DT matches the
value of the slaves property in the cpsw node. Otherwise, priv-slaves
would be the wrong size.
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
drivers/net/ethernet/ti/cpsw.c | 17