]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: gmac: Move sunxi_gmac_initialize proto out of netdev.h
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 Apr 2015 15:55:10 +0000 (17:55 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 May 2015 14:51:53 +0000 (16:51 +0200)
commitaab096401c527641235cd93b188b34ed9dc99617
tree0b51794591662beaff33afc8aff0ed9a48b07b73
parentf9b7a04bc8aae9b1ffe35c8cc90e1a59f618a9ab
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>
arch/arm/include/asm/arch-sunxi/sys_proto.h
include/netdev.h