From: Claudiu Manoil Date: Tue, 7 Oct 2014 07:44:31 +0000 (+0300) Subject: gianfar: Include missing headers for ARM builds X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd31a9528800b52c7a56a9cfa0af30b44dcfb0c9;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git gianfar: Include missing headers for ARM builds Include linux/of_address.h for of_iomap() and linux/of_irq.h for irq_of_parse_and_map(). This wasn't an issue for PPC, because these were implicitly included from asm/prom.h (via linux/of.h) for PPC builds only. ARM builds need these includes explicitly. Signed-off-by: Claudiu Manoil Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c index fb29d049f4e1..a488105ec51d 100644 --- a/drivers/net/ethernet/freescale/gianfar.c +++ b/drivers/net/ethernet/freescale/gianfar.c @@ -100,6 +100,8 @@ #include #include #include +#include +#include #include "gianfar.h"