Commit aab096401c527641235cd93b188b34ed9dc99617
1 parent
f9b7a04bc8
Exists in
v2017.01-smarct4x
and in
34 other branches
sunxi: gmac: Move sunxi_gmac_initialize proto out of netdev.h
netdev.h should not be included in driver-model enabled builds (doing so causes compiler warnings about struct eth_driver not being declared), but we do use sunxi_gmac_initialize in the driver-model case, so move it out of netdev.h . Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
arch/arm/include/asm/arch-sunxi/sys_proto.h
include/netdev.h
... | ... | @@ -81,7 +81,6 @@ |
81 | 81 | int smc91111_initialize(u8 dev_num, int base_addr); |
82 | 82 | int smc911x_initialize(u8 dev_num, int base_addr); |
83 | 83 | int sunxi_emac_initialize(bd_t *bis); |
84 | -int sunxi_gmac_initialize(bd_t *bis); | |
85 | 84 | int tsi108_eth_initialize(bd_t *bis); |
86 | 85 | int uec_standard_init(bd_t *bis); |
87 | 86 | int uli526x_initialize(bd_t *bis); |