diff options
author | David Brown <davidb@codeaurora.org> | 2011-05-16 16:32:15 -0400 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2011-08-01 07:58:00 -0400 |
commit | 030a77fc9b805a38a2ffaea42728557282b81275 (patch) | |
tree | cfa523bf81db0c49e88c7ef4b5fef3c50d775b8d /arch/arm/mach-msm/gpio.c | |
parent | 10eb5f6bcbdc5e460e5500e1dbc39b2e7713ebfd (diff) |
msm: gpiomux: Move public API to public header
The gpiomux.h header contains some SOC ifdefs. However, the API that
is actually used by the GPIO driver only uses two functions that are
general. Move these general definitions into a public header file.
Change-Id: Ia5df8af87dba268225598d56908e523bcfc24ef6
Signed-off-by: David Brown <davidb@codeaurora.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-msm/gpio.c')
-rw-r--r-- | arch/arm/mach-msm/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/gpio.c b/arch/arm/mach-msm/gpio.c index e96199dd14d0..6767deb79cd0 100644 --- a/arch/arm/mach-msm/gpio.c +++ b/arch/arm/mach-msm/gpio.c | |||
@@ -21,8 +21,8 @@ | |||
21 | #include <linux/irq.h> | 21 | #include <linux/irq.h> |
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <mach/cpu.h> | 23 | #include <mach/cpu.h> |
24 | #include <mach/msm_gpiomux.h> | ||
24 | #include "gpio_hw.h" | 25 | #include "gpio_hw.h" |
25 | #include "gpiomux.h" | ||
26 | 26 | ||
27 | #define FIRST_GPIO_IRQ MSM_GPIO_TO_INT(0) | 27 | #define FIRST_GPIO_IRQ MSM_GPIO_TO_INT(0) |
28 | 28 | ||