diff options
author | Eric Miao <eric.miao@marvell.com> | 2009-01-06 22:30:49 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-03-09 09:22:37 -0400 |
commit | 3b8e285c21d12082a85a142ef73a1648d41cae46 (patch) | |
tree | 2666c51c4a61644956eea6369c9d824c60e9235b /arch/arm/mach-pxa/include/mach/gpio.h | |
parent | da065a0b3611751feefeb0f0e277cd5830056dad (diff) |
[ARM] pxa: move declaration of 'pxa_last_gpio' into <mach/gpio.h>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/gpio.h')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/gpio.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/include/mach/gpio.h b/arch/arm/mach-pxa/include/mach/gpio.h index be4900ea32da..4049b234eda3 100644 --- a/arch/arm/mach-pxa/include/mach/gpio.h +++ b/arch/arm/mach-pxa/include/mach/gpio.h | |||
@@ -100,8 +100,11 @@ | |||
100 | 100 | ||
101 | 101 | ||
102 | /* NOTE: some PXAs have fewer on-chip GPIOs (like PXA255, with 85). | 102 | /* NOTE: some PXAs have fewer on-chip GPIOs (like PXA255, with 85). |
103 | * Those cases currently cause holes in the GPIO number space. | 103 | * Those cases currently cause holes in the GPIO number space, the |
104 | * actual number of the last GPIO is recorded by 'pxa_last_gpio'. | ||
104 | */ | 105 | */ |
106 | extern int pxa_last_gpio; | ||
107 | |||
105 | #define NR_BUILTIN_GPIO 128 | 108 | #define NR_BUILTIN_GPIO 128 |
106 | 109 | ||
107 | static inline int gpio_get_value(unsigned gpio) | 110 | static inline int gpio_get_value(unsigned gpio) |