commit | d76b9b7e71f402a2c732902baccbd0067960108b | [log] [tgz] |
---|---|---|
author | Calvin Johnson <calvin.johnson@nxp.com> | Thu Mar 08 15:30:23 2018 +0530 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Mar 22 15:05:28 2018 -0500 |
tree | 781a1a23600330c23626e343f213d1b959be30cf | |
parent | d0c42d7a87cd101ace1e20602e73119be7ecbd03 [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>