diff options
author | Tony Lindgren <tony@atomide.com> | 2015-05-21 23:50:23 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-05-21 23:50:23 +0200 |
commit | e99b32e27147fd02d5a17b4d39b12e7a6562610c (patch) | |
tree | 2e27b4a74077f3d85ca25b21599c88809eac49a0 /arch/arm/mach-omap1/gpio16xx.c | |
parent | ARM: OMAP1: Change interrupt numbering for sparse IRQ (diff) | |
download | linux-e99b32e27147fd02d5a17b4d39b12e7a6562610c.tar.xz linux-e99b32e27147fd02d5a17b4d39b12e7a6562610c.zip |
ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected
With the omap1 SPARSE_IRQ changes mach/irqs.h is no longer
automatically included. Turns out now we rely on ARCH_OMAP15XX
including hardware.h from memory.h, so without ARCH_OMAP15XX
we get build failures.
As we have legacy drivers still relying on these indirect
includes, let's not add more mach includes to the drivers.
Those have to be removed anyways for multiplatform support.
Let's fix up mach-omap1 to include soc.h where cpu_is_omap
checks are done, and common.h for board-*.c files.
But let's keep the indirect memory.h include for now to avoid
unnecessary churn in the drivers.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/gpio16xx.c')
-rw-r--r-- | arch/arm/mach-omap1/gpio16xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/gpio16xx.c b/arch/arm/mach-omap1/gpio16xx.c index 6e6ec93dcbb3..5b7a29b294d4 100644 --- a/arch/arm/mach-omap1/gpio16xx.c +++ b/arch/arm/mach-omap1/gpio16xx.c @@ -21,6 +21,8 @@ #include <mach/irqs.h> +#include "soc.h" + #define OMAP1610_GPIO1_BASE 0xfffbe400 #define OMAP1610_GPIO2_BASE 0xfffbec00 #define OMAP1610_GPIO3_BASE 0xfffbb400 |