commit | ea2764c8c0acbd5a456bb1bbef57df40708a3afa | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sat Apr 04 12:21:57 2020 +0200 |
committer | marex <marex@desktop.lan> | Fri May 01 12:35:03 2020 +0200 |
tree | 34e6d1c560b56d3c78a775c75e388c39df9b9260 | |
parent | 146c3b5e653cf8cc18311d1ba9569f84fc17ad7a [diff] |
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>