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:
parent
fe85ff4761
commit
3ece590c38
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue