net: cpsw: fix probe with fixed-link
While cpsw is probe dt, it accepts only slaves nodes with "phy_id" property.
In case of fixed-link there are no "phy_id" property and probe would be failed.
This patch avoid the failure due to missing "phy_id" in case of fixed-link.

Signed-off-by: Andreas Schmidt <mail@schmidt-andreas.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a751363 commit 9ef2c08930f545f3c0fa2fdc317742c5784e5f4a
@Andreas Schmidt Andreas Schmidt authored on 22 Feb 2018
Sascha Hauer committed on 5 Mar 2018
Showing 1 changed file
View
drivers/net/cpsw.c