From 3b8e285c21d12082a85a142ef73a1648d41cae46 Mon Sep 17 00:00:00 2001
From: Eric Miao <eric.miao@marvell.com>
Date: Wed, 7 Jan 2009 11:30:49 +0800
Subject: [ARM] pxa: move declaration of 'pxa_last_gpio' into <mach/gpio.h>

Signed-off-by: Eric Miao <eric.miao@marvell.com>
---
 arch/arm/mach-pxa/gpio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'arch/arm/mach-pxa/gpio.c')

diff --git a/arch/arm/mach-pxa/gpio.c b/arch/arm/mach-pxa/gpio.c
index 9a33eb07fe0a..41935590e990 100644
--- a/arch/arm/mach-pxa/gpio.c
+++ b/arch/arm/mach-pxa/gpio.c
@@ -20,6 +20,8 @@
 
 #include <mach/gpio.h>
 
+int pxa_last_gpio;
+
 #define GPIO0_BASE	(GPIO_REGS_VIRT + 0x0000)
 #define GPIO1_BASE	(GPIO_REGS_VIRT + 0x0004)
 #define GPIO2_BASE	(GPIO_REGS_VIRT + 0x0008)
@@ -38,8 +40,6 @@ struct pxa_gpio_chip {
 	void __iomem     *regbase;
 };
 
-int pxa_last_gpio;
-
 static int pxa_gpio_direction_input(struct gpio_chip *chip, unsigned offset)
 {
 	unsigned long        flags;
-- 
cgit v1.2.2