[U-Boot] [PATCH v2 01/13] drivers: net: phy: Fix aquantia compilation with DM
Joe Hershberger
joe.hershberger at ni.com
Tue Feb 27 16:58:51 UTC 2018
On Thu, Feb 15, 2018 at 8:17 AM, Calvin Johnson <calvin.johnson at nxp.com> wrote:
> With CONFIG_DM_ETH enabled, aquantia driver compilation fails with
> below error. This patch fixes the issue by including dm.h.
>
> drivers/net/phy/aquantia.c: In function ‘aquantia_startup’:
> drivers/net/phy/aquantia.c:73:21: error: dereferencing pointer to
> incomplete
> type ‘struct udevice’
> phydev->dev->name);
> ^~
>
> Signed-off-by: Calvin Johnson <calvin.johnson at nxp.com>
Acked-by: Joe Hershberger <joe.hershberger at ni.com>
More information about the U-Boot
mailing list