diff options
author | Calvin Johnson <calvin.johnson@nxp.com> | 2018-03-08 15:30:23 +0530 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-03-22 15:05:28 -0500 |
commit | 365108ef52db8adce703559ff050475fd459c7d5 (patch) | |
tree | 781a1a23600330c23626e343f213d1b959be30cf /drivers/net/pfe_eth | |
parent | b24b1e4b1d6776ca12a57eff77956bce77b2e56f (diff) |
drivers: net: phy: Fix aquantia compilation with DM
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@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/pfe_eth')
0 files changed, 0 insertions, 0 deletions