aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-11-30 20:58:42 +0800
committerEric Miao <eric.miao@marvell.com>2008-12-02 14:42:37 +0800
commit63e6552f7cc45739cd2f92c27f5081f753b70d04 (patch)
tree0e8411619c6f53aee298f2049289782adb91556f /arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h
parent80796f2a40504526797d488d17b87c4274d430fa (diff)
[ARM] pxa: removed unused declarations of pxa_gpio_* in hardware.h
pxa_gpio_{get,set}_value() are not used anymore, remove them from hardware.h. Declaration of pxa_gpio_mode() is still being referenced and thus moved into pxa2xx-gpio.h Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h b/arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h
index 6ef1dd09970..d83393e2527 100644
--- a/arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h
+++ b/arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h
@@ -365,4 +365,9 @@
#define GPIO117_I2CSCL_MD (117 | GPIO_ALT_FN_1_IN)
#define GPIO118_I2CSDA_MD (118 | GPIO_ALT_FN_1_IN)
+/*
+ * Handy routine to set GPIO alternate functions
+ */
+extern int pxa_gpio_mode( int gpio_mode );
+
#endif /* __ASM_ARCH_PXA2XX_GPIO_H */