RE: [PATCH 1/6] net: macb: add phylink support

2019-06-18 Thread Parshuram Raju Thombare
>> @@ -4217,8 +4257,8 @@ static int macb_probe(struct platform_device *pdev) >> >> tasklet_init(&bp->hresp_err_tasklet, macb_hresp_error_task, >> (unsigned long)bp); >> - >> -phy_attached_info(phydev); >> +if (dev->phydev) >> +phy_attached_info(dev->phydev

Re: [PATCH 1/6] net: macb: add phylink support

2019-06-17 Thread Andrew Lunn
> @@ -4217,8 +4257,8 @@ static int macb_probe(struct platform_device *pdev) > > tasklet_init(&bp->hresp_err_tasklet, macb_hresp_error_task, >(unsigned long)bp); > - > - phy_attached_info(phydev); > + if (dev->phydev) > + phy_attached_info(dev->phydev)