9
0
Fork 0

net: fec_imx: default phy address to -1 for dt probe

To enable automatic probing of the phy.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-05-22 09:22:05 +02:00
parent fe85ff4761
commit 3ece590c38
1 changed files with 1 additions and 0 deletions

View File

@ -707,6 +707,7 @@ static int fec_probe(struct device_d *dev)
if (dev->device_node) {
ret = fec_probe_dt(dev, fec);
fec->phy_addr = -1;
} else if (pdata) {
fec->interface = pdata->xcv_type;
fec->phy_init = pdata->phy_init;