msm: Remove chip-ifdefs for GPIO io mappings
authorDavid Brown <davidb@codeaurora.org>
Thu, 12 May 2011 07:54:36 +0000 (00:54 -0700)
committerDavid Brown <davidb@codeaurora.org>
Mon, 1 Aug 2011 11:57:59 +0000 (04:57 -0700)
commit03db0729b7603202f7d3a2bf2ec7e89a1ad44a17
tree10aa5169c72f2199d21ee41c064a3974fd91c870
parentce427c384ea4b7ec48c7e6367b7b64457eba87b3
msm: Remove chip-ifdefs for GPIO io mappings

The two GPIO controllers are always mapped to the same virtual address
across all MSM devices.  Instead of selecting this at compile time,
determine the physical address at runtime, eliminating yet something
else preventing multiple MSM targets from being compiled into the same
kernel.

Change-Id: I1672219d978ab6243526adeda6badf49472baa27
Signed-off-by: David Brown <davidb@codeaurora.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/mach-msm/include/mach/msm_iomap-7x00.h
arch/arm/mach-msm/include/mach/msm_iomap-7x30.h
arch/arm/mach-msm/include/mach/msm_iomap-8x50.h
arch/arm/mach-msm/include/mach/msm_iomap.h
arch/arm/mach-msm/io.c