diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-04-04 12:21:57 +0200 |
---|---|---|
committer | marex <marex@desktop.lan> | 2020-05-01 12:35:03 +0200 |
commit | f2c5564f7552369e2d5648eb8ac2e1164755c8f7 (patch) | |
tree | 34e6d1c560b56d3c78a775c75e388c39df9b9260 /net | |
parent | 78021b63373de32335bd204471d6cb7c7e18bc52 (diff) | |
download | u-boot-f2c5564f7552369e2d5648eb8ac2e1164755c8f7.tar.gz u-boot-f2c5564f7552369e2d5648eb8ac2e1164755c8f7.tar.bz2 u-boot-f2c5564f7552369e2d5648eb8ac2e1164755c8f7.zip |
net: Fix warning when including netdev.h on DM systems
If the DM_ETH is enabled and netdev.h is included somewhere, the
struct eth_device may not be defined, yet it is used in the header
file as an argument to fecmxc_register_mii_postcall. Add forward
declaration to remove the warning.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions