[U-Boot] [PATCH 12/21] sunxi: gmac: Move sunxi_gmac_initialize proto out of netdev.h

Hans de Goede hdegoede at redhat.com
Sun Apr 26 11:55:06 CEST 2015


Hi,

Thanks for the reviews!

On 26-04-15 05:23, Ian Campbell wrote:
> On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote:
>> netdev.h should not be included in device-model enabled builds (doing so
>> causes compiler warnings about struct eth_device not being declared), but
>> we do use sunxi_gmac_initialize in the device-model case, so move it out of
>> netdev.h .
>
> Worth keeping the emac one alongside?

It gets completely removed in "sunxi: emac: Remove non device-model code" :)

Regards,

Hans


More information about the U-Boot mailing list