> @@ -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);

When can this happen? I don't see anything assigning to dev->phydev.

     Andrew

Reply via email to