Message ID | 1478052417-4767-4-git-send-email-wenyou.yang@atmel.com |
---|---|
State | Accepted |
Commit | 6d2c1d2 |
Delegated to: | Joe Hershberger |
Headers | show |
Hi Wenyou, https://patchwork.ozlabs.org/patch/690228/ was applied to u-boot-net.git. Thanks! -Joe
diff --git a/drivers/net/macb.c b/drivers/net/macb.c index f97b82a..67d820f 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -1030,8 +1030,6 @@ static int macb_eth_probe(struct udevice *dev) { struct eth_pdata *pdata = dev_get_platdata(dev); struct macb_device *macb = dev_get_priv(dev); - -#ifdef CONFIG_DM_ETH const char *phy_mode; int ret; @@ -1042,7 +1040,6 @@ static int macb_eth_probe(struct udevice *dev) debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); return -EINVAL; } -#endif macb->regs = (void *)pdata->iobase;