diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2013-03-05 00:08:27 +0100 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2013-03-05 21:05:43 +0100 |
commit | 7bce696b07e3b6aafed58c211c7fa19cd734e4c1 (patch) | |
tree | 1d099bb071da401e4f34d8777725a4328614a0da /arch/arm/mach-msm/board-msm7x30.c | |
parent | mmc: msm_sdcc: Remove unnecessary include (diff) | |
download | linux-7bce696b07e3b6aafed58c211c7fa19cd734e4c1.tar.xz linux-7bce696b07e3b6aafed58c211c7fa19cd734e4c1.zip |
gpio: Make gpio-msm-v1 into a platform driver
Doing this removes the dependence of this driver on the
msm_iomap.h and cpu.h mach include headers provied by MSM. This
is necessary to support single zImage work in the future and
allows us to remove cpu.h entirely and brings us closer to
removing msm_iomap.h.
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Rohit Vaswani <rvaswani@codeaurora.org>
Acked-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/board-msm7x30.c')
-rw-r--r-- | arch/arm/mach-msm/board-msm7x30.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c index 7bc3f82e3ec9..520c141acd03 100644 --- a/arch/arm/mach-msm/board-msm7x30.c +++ b/arch/arm/mach-msm/board-msm7x30.c @@ -89,6 +89,7 @@ struct msm_gpiomux_config msm_gpiomux_configs[GPIOMUX_NGPIOS] = { }; static struct platform_device *devices[] __initdata = { + &msm_device_gpio_7x30, #if defined(CONFIG_SERIAL_MSM) || defined(CONFIG_MSM_SERIAL_DEBUGGER) &msm_device_uart2, #endif |