diff options
author | Claudiu Manoil <claudiu.manoil@freescale.com> | 2014-10-07 03:44:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-09 01:40:37 -0400 |
commit | fd31a9528800b52c7a56a9cfa0af30b44dcfb0c9 (patch) | |
tree | 8709be7bcdf3b778179dd5891251628202eedccd | |
parent | e4b081f543030fc0b23d2cd7d1f6e3ac69d7f47f (diff) |
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>
-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 @@ | |||
100 | #include <linux/phy_fixed.h> | 100 | #include <linux/phy_fixed.h> |
101 | #include <linux/of.h> | 101 | #include <linux/of.h> |
102 | #include <linux/of_net.h> | 102 | #include <linux/of_net.h> |
103 | #include <linux/of_address.h> | ||
104 | #include <linux/of_irq.h> | ||
103 | 105 | ||
104 | #include "gianfar.h" | 106 | #include "gianfar.h" |
105 | 107 | ||