To satisfy deep probe mechanism Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> --- drivers/phy/phy-stm32-usbphyc.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/phy/phy-stm32-usbphyc.c b/drivers/phy/phy-stm32-usbphyc.c index 4c1d7bfa48..2fa1f0fd01 100644 --- a/drivers/phy/phy-stm32-usbphyc.c +++ b/drivers/phy/phy-stm32-usbphyc.c @@ -423,10 +423,17 @@ static int stm32_usbphyc_probe(struct device_d *dev) for_each_child_of_node(np, child) { struct stm32_usbphyc_phy *usbphyc_phy; + struct device_d *phydev; struct phy *phy; u32 index; - phy = phy_create(dev, child, &stm32_usbphyc_phy_ops); + phydev = of_platform_device_create(child, dev); + if (!phydev) + continue; + + of_platform_device_dummy_drv(phydev); + + phy = phy_create(phydev, child, &stm32_usbphyc_phy_ops); if (IS_ERR(phy)) { ret = PTR_ERR(phy); if (ret != -EPROBE_DEFER) -- 2.30.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox