Re: [U-Boot] [PATCH v2 01/13] drivers: net: phy: Fix aquantia compilation with DM

2018-02-27 Thread Joe Hershberger
On Thu, Feb 15, 2018 at 8:17 AM, Calvin Johnson 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: derefe

[U-Boot] [PATCH v2 01/13] drivers: net: phy: Fix aquantia compilation with DM

2018-02-15 Thread Calvin Johnson
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’ phy