diff options
author | Pavel Machek <pavel@ucw.cz> | 2010-06-02 14:11:12 -0400 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-06-15 16:19:43 -0400 |
commit | 923a081c72fa2dccb7ea7070bd8e0f4dc99ceff8 (patch) | |
tree | 727b0fd38a3344339b986d1a3078dfb53ee0c700 /arch/arm/mach-msm/include/mach | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) |
Add GPIO support for HTC Dream.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
[dwalker@codeaurora.org: renamed to trout, checkpatch cleanup]
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/include/mach')
-rw-r--r-- | arch/arm/mach-msm/include/mach/gpio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/include/mach/gpio.h b/arch/arm/mach-msm/include/mach/gpio.h index 262b441b437..83e47c0d5c2 100644 --- a/arch/arm/mach-msm/include/mach/gpio.h +++ b/arch/arm/mach-msm/include/mach/gpio.h | |||
@@ -16,6 +16,13 @@ | |||
16 | #ifndef __ASM_ARCH_MSM_GPIO_H | 16 | #ifndef __ASM_ARCH_MSM_GPIO_H |
17 | #define __ASM_ARCH_MSM_GPIO_H | 17 | #define __ASM_ARCH_MSM_GPIO_H |
18 | 18 | ||
19 | #include <asm-generic/gpio.h> | ||
20 | |||
21 | #define gpio_get_value __gpio_get_value | ||
22 | #define gpio_set_value __gpio_set_value | ||
23 | #define gpio_cansleep __gpio_cansleep | ||
24 | #define gpio_to_irq __gpio_to_irq | ||
25 | |||
19 | /** | 26 | /** |
20 | * struct msm_gpio - GPIO pin description | 27 | * struct msm_gpio - GPIO pin description |
21 | * @gpio_cfg - configuration bitmap, as per gpio_tlmm_config() | 28 | * @gpio_cfg - configuration bitmap, as per gpio_tlmm_config() |