summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/devices.h
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-03-04 15:08:27 -0800
committerDavid Brown <davidb@codeaurora.org>2013-03-05 12:05:43 -0800
commit7bce696b07e3b6aafed58c211c7fa19cd734e4c1 (patch)
tree1d099bb071da401e4f34d8777725a4328614a0da /arch/arm/mach-msm/devices.h
parent805b3e423567f67ba1e0fdf871763294a1f52cbd (diff)
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/devices.h')
-rw-r--r--arch/arm/mach-msm/devices.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/devices.h b/arch/arm/mach-msm/devices.h
index 9545c196c6e8..da902cf51161 100644
--- a/arch/arm/mach-msm/devices.h
+++ b/arch/arm/mach-msm/devices.h
@@ -20,6 +20,10 @@
#include "clock.h"
+extern struct platform_device msm_device_gpio_7201;
+extern struct platform_device msm_device_gpio_7x30;
+extern struct platform_device msm_device_gpio_8x50;
+
extern struct platform_device msm_device_uart1;
extern struct platform_device msm_device_uart2;
extern struct platform_device msm_device_uart3;