> ltq_gbit_w32_mask(0, PX_CTL_DMDIO, LTQ_GBIT_P0_CTL); > @@ -873,6 +870,12 @@ ltq_etop_probe(struct platform_device *pdev) > err = -ENOMEM; > goto err_out; > } > + if (ltq_gpio_request(&pdev->dev, 42, 2, 1, "MDIO") || > + ltq_gpio_request(&pdev->dev, 43, 2, 1, "MDC")) { > + dev_err(&pdev->dev, "failed to request MDIO gpios\n"); > + err = -ENOMEM; -EBUSY should go here instead of -ENOMEM > + goto err_out; > + } > } > > dev = alloc_etherdev_mq(sizeof(struct ltq_etop_priv), 4);