ARM: OMAP: Move gpio.h to include/linux/platform_data
authorTony Lindgren <tony@atomide.com>
Thu, 30 Aug 2012 22:37:24 +0000 (15:37 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Sep 2012 01:06:30 +0000 (18:06 -0700)
commit4b25408f1f61c35b70a19a41053b5e5e3224e97f
tree5444bab447039299d1e2ac6c6d69f9ac347c0858
parenta940d9a1cb2ea0833421fd57e47f8ce2a6d9953b
ARM: OMAP: Move gpio.h to include/linux/platform_data

This way we can remove includes of plat/gpio.h which won't work
with the single zImage support.

Note that we also remove the cpu_class_is_omap2() check
in gpio-omap.c as the drivers should not call it as we need to
make it local to arch/arm/mach-omap2 for single zImage support.

While at it, arrange the related includes in the standard way.

Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: linux-mtd@lists.infradead.org
Cc: alsa-devel@alsa-project.org
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
29 files changed:
arch/arm/mach-omap1/board-ams-delta.c
arch/arm/mach-omap1/board-osk.c
arch/arm/mach-omap1/gpio15xx.c
arch/arm/mach-omap1/gpio16xx.c
arch/arm/mach-omap1/gpio7xx.c
arch/arm/mach-omap1/include/mach/gpio.h
arch/arm/mach-omap1/leds-h2p2-debug.c
arch/arm/mach-omap1/leds.c
arch/arm/mach-omap2/board-am3517evm.c
arch/arm/mach-omap2/board-cm-t35.c
arch/arm/mach-omap2/board-zoom-display.c
arch/arm/mach-omap2/board-zoom-peripherals.c
arch/arm/mach-omap2/gpio.c
arch/arm/mach-omap2/hsmmc.c
arch/arm/mach-omap2/include/mach/gpio.h
arch/arm/mach-omap2/msdi.c
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
arch/arm/mach-omap2/pm24xx.c
arch/arm/mach-omap2/pm34xx.c
arch/arm/plat-omap/debug-leds.c
arch/arm/plat-omap/include/plat/gpio.h [deleted file]
drivers/gpio/gpio-omap.c
drivers/mtd/nand/ams-delta.c
include/linux/platform_data/gpio-omap.h [new file with mode: 0644]
sound/soc/omap/sdp3430.c