]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-pxa/gpio.c
[ARM] pxa: move declaration of 'pxa_last_gpio' into <mach/gpio.h>
[linux-2.6-omap-h63xx.git] / arch / arm / mach-pxa / gpio.c
index 9a33eb07fe0a555f5084e72b54b9f23742666eb0..41935590e9909317801f9f937d389aecfe8ea6b8 100644 (file)
@@ -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;