]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: OMAP1: Fix randconfig builds if ARCH_OMAP15XX not selected
authorTony Lindgren <tony@atomide.com>
Thu, 21 May 2015 21:50:23 +0000 (14:50 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 21 May 2015 21:50:23 +0000 (14:50 -0700)
commite99b32e27147fd02d5a17b4d39b12e7a6562610c
tree2e27b4a74077f3d85ca25b21599c88809eac49a0
parent685e2d08c54b1a1bf31bbe6562f06db089d31c7b
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>
arch/arm/mach-omap1/board-h3-mmc.c
arch/arm/mach-omap1/common.h
arch/arm/mach-omap1/gpio16xx.c
arch/arm/mach-omap1/gpio7xx.c
arch/arm/mach-omap1/include/mach/memory.h
arch/arm/mach-omap1/pm.c
arch/arm/mach-omap1/serial.c