]> 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)
commit929a0ff5e31f6b68b50c466c44d1b3b62e072907
tree10aa5169c72f2199d21ee41c064a3974fd91c870
parentaaeef668d2ecea4782eb301706cf781dd521e6fe
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