mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
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>
This commit is contained in:
parent
f9b7a04bc8
commit
aab096401c
2 changed files with 3 additions and 1 deletions
|
@ -23,4 +23,7 @@ void sdelay(unsigned long);
|
|||
*/
|
||||
void return_to_fel(uint32_t lr, uint32_t sp);
|
||||
|
||||
/* Board / SoC level designware gmac init */
|
||||
int sunxi_gmac_initialize(bd_t *bis);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue