diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2009-06-07 17:05:45 +0200 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-06-11 16:12:13 +0200 |
commit | 18473473880622b671a73dfdcaf03e9b526e0fb2 (patch) | |
tree | 2ec5c88c363adaf30ff1b8aba63f08a370c5a337 /arch/arm/mach-pxa/mioa701.c | |
parent | [ARM] pxa/littleton: add support for the Micro-SD slot (MMC1) (diff) | |
download | linux-18473473880622b671a73dfdcaf03e9b526e0fb2.tar.xz linux-18473473880622b671a73dfdcaf03e9b526e0fb2.zip |
[ARM] pxa: fix the conflicting non-static declarations of global_gpios[]
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/mach-pxa/mioa701.c')
-rw-r--r-- | arch/arm/mach-pxa/mioa701.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/mioa701.c b/arch/arm/mach-pxa/mioa701.c index 804c25c4a064..4dc8c2ec40a9 100644 --- a/arch/arm/mach-pxa/mioa701.c +++ b/arch/arm/mach-pxa/mioa701.c @@ -798,7 +798,7 @@ static void mioa701_restart(char c, const char *cmd) arm_machine_restart('s', cmd); } -struct gpio_ress global_gpios[] = { +static struct gpio_ress global_gpios[] = { MIO_GPIO_OUT(GPIO9_CHARGE_EN, 1, "Charger enable"), MIO_GPIO_OUT(GPIO18_POWEROFF, 0, "Power Off"), MIO_GPIO_OUT(GPIO87_LCD_POWER, 0, "LCD Power") |