]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit108afe60aa7dc4864dfaf7c3e352e96b9bec3826
tree10aa5169c72f2199d21ee41c064a3974fd91c870
parent82d85e3a8853b0bc7777acf693bab35c55fbea50
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