diff options
author | Claudiu Manoil <claudiu.manoil@freescale.com> | 2014-10-07 09:44:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-09 07:40:37 +0200 |
commit | fd31a9528800b52c7a56a9cfa0af30b44dcfb0c9 (patch) | |
tree | 8709be7bcdf3b778179dd5891251628202eedccd /drivers/net | |
parent | net/fsl_pq_mdio: Replace spin_event_timeout() with arch independent (diff) | |
download | linux-fd31a9528800b52c7a56a9cfa0af30b44dcfb0c9.tar.xz linux-fd31a9528800b52c7a56a9cfa0af30b44dcfb0c9.zip |
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 <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/freescale/gianfar.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <linux/phy_fixed.h> #include <linux/of.h> #include <linux/of_net.h> +#include <linux/of_address.h> +#include <linux/of_irq.h> #include "gianfar.h" |