]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:20 +0000 (22:35 +0200)
commit3f37513f3a11e53d4eaa6757048262c63113f6e1
tree9f7a337743efd5a63c67d28412e5837fa82fdfe0
parentfeade3b79532c430ff8795f4dce1a54d104d6a8c
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