summaryrefslogtreecommitdiff
path: root/include/netdev.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-04-22 17:55:10 +0200
committerHans de Goede <hdegoede@redhat.com>2015-05-04 16:51:53 +0200
commitaab096401c527641235cd93b188b34ed9dc99617 (patch)
tree0b51794591662beaff33afc8aff0ed9a48b07b73 /include/netdev.h
parentf9b7a04bc8aae9b1ffe35c8cc90e1a59f618a9ab (diff)
downloadu-boot-aab096401c527641235cd93b188b34ed9dc99617.tar.gz
u-boot-aab096401c527641235cd93b188b34ed9dc99617.tar.bz2
u-boot-aab096401c527641235cd93b188b34ed9dc99617.zip
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>
Diffstat (limited to 'include/netdev.h')
-rw-r--r--include/netdev.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/netdev.h b/include/netdev.h
index d96e1dabf9..e6bdfdfa83 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -81,7 +81,6 @@ int skge_initialize(bd_t *bis);
int smc91111_initialize(u8 dev_num, int base_addr);
int smc911x_initialize(u8 dev_num, int base_addr);
int sunxi_emac_initialize(bd_t *bis);
-int sunxi_gmac_initialize(bd_t *bis);
int tsi108_eth_initialize(bd_t *bis);
int uec_standard_init(bd_t *bis);
int uli526x_initialize(bd_t *bis);