diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-11-30 07:58:42 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2008-12-02 01:42:37 -0500 |
commit | 63e6552f7cc45739cd2f92c27f5081f753b70d04 (patch) | |
tree | 0e8411619c6f53aee298f2049289782adb91556f /arch | |
parent | 80796f2a40504526797d488d17b87c4274d430fa (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')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/hardware.h | 15 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h | 5 |
2 files changed, 5 insertions, 15 deletions
diff --git a/arch/arm/mach-pxa/include/mach/hardware.h b/arch/arm/mach-pxa/include/mach/hardware.h index 292a93af2b25..f6b4103ecc65 100644 --- a/arch/arm/mach-pxa/include/mach/hardware.h +++ b/arch/arm/mach-pxa/include/mach/hardware.h | |||
@@ -258,21 +258,6 @@ | |||
258 | }) | 258 | }) |
259 | 259 | ||
260 | /* | 260 | /* |
261 | * Handy routine to set GPIO alternate functions | ||
262 | */ | ||
263 | extern int pxa_gpio_mode( int gpio_mode ); | ||
264 | |||
265 | /* | ||
266 | * Return GPIO level, nonzero means high, zero is low | ||
267 | */ | ||
268 | extern int pxa_gpio_get_value(unsigned gpio); | ||
269 | |||
270 | /* | ||
271 | * Set output GPIO level | ||
272 | */ | ||
273 | extern void pxa_gpio_set_value(unsigned gpio, int value); | ||
274 | |||
275 | /* | ||
276 | * return current memory and LCD clock frequency in units of 10kHz | 261 | * return current memory and LCD clock frequency in units of 10kHz |
277 | */ | 262 | */ |
278 | extern unsigned int get_memclk_frequency_10khz(void); | 263 | extern unsigned int get_memclk_frequency_10khz(void); |
diff --git a/arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h b/arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h index 6ef1dd09970b..d83393e25273 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 @@ | |||
365 | #define GPIO117_I2CSCL_MD (117 | GPIO_ALT_FN_1_IN) | 365 | #define GPIO117_I2CSCL_MD (117 | GPIO_ALT_FN_1_IN) |
366 | #define GPIO118_I2CSDA_MD (118 | GPIO_ALT_FN_1_IN) | 366 | #define GPIO118_I2CSDA_MD (118 | GPIO_ALT_FN_1_IN) |
367 | 367 | ||
368 | /* | ||
369 | * Handy routine to set GPIO alternate functions | ||
370 | */ | ||
371 | extern int pxa_gpio_mode( int gpio_mode ); | ||
372 | |||
368 | #endif /* __ASM_ARCH_PXA2XX_GPIO_H */ | 373 | #endif /* __ASM_ARCH_PXA2XX_GPIO_H */ |