summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/include/mach/gpio.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2010-06-02 11:11:12 -0700
committerDaniel Walker <dwalker@codeaurora.org>2010-06-15 13:19:43 -0700
commit923a081c72fa2dccb7ea7070bd8e0f4dc99ceff8 (patch)
tree727b0fd38a3344339b986d1a3078dfb53ee0c700 /arch/arm/mach-msm/include/mach/gpio.h
parent7e27d6e778cd87b6f2415515d7127eba53fe5d02 (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/gpio.h')
-rw-r--r--arch/arm/mach-msm/include/mach/gpio.h7
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 262b441b4374..83e47c0d5c2e 100644
--- a/arch/arm/mach-msm/include/mach/gpio.h
+++ b/arch/arm/mach-msm/include/mach/gpio.h
@@ -16,6 +16,13 @@
#ifndef __ASM_ARCH_MSM_GPIO_H
#define __ASM_ARCH_MSM_GPIO_H
+#include <asm-generic/gpio.h>
+
+#define gpio_get_value __gpio_get_value
+#define gpio_set_value __gpio_set_value
+#define gpio_cansleep __gpio_cansleep
+#define gpio_to_irq __gpio_to_irq
+
/**
* struct msm_gpio - GPIO pin description
* @gpio_cfg - configuration bitmap, as per gpio_tlmm_config()