This patch fixes following build error: CC ucc_geth.o ucc_geth.c: In function 'ucc_geth_probe': ucc_geth.c:3644: error: implicit declaration of function 'uec_mdio_bus_name' make[2]: *** [ucc_geth.o] Error 1
Unified · Split
| @@ -3641,7 +3641,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma · 3640 unmodified lines | ||
| 3641 | 3641 | if (err) |
| 3642 | 3642 | return -1; |
| 3643 | 3643 | |
| 3644 | − uec_mdio_bus_name(bus_name, mdio); | |
| 3644 | + fsl_pq_mdio_bus_name(bus_name, mdio); | |
| 3645 | 3645 | snprintf(ug_info->phy_bus_id, sizeof(ug_info->phy_bus_id), |
| 3646 | 3646 | "%s:%02x", bus_name, *prop); |
| 3647 | 3647 | } |