]> err.no Git - linux-2.6/commitdiff
[ARM] 5003/1: Shut up sparse warnings
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Sat, 19 Apr 2008 09:42:18 +0000 (10:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 19 Apr 2008 10:29:09 +0000 (11:29 +0100)
Shut up sparse warnings by making GPIO_IRQ_MASK unisgned

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/gpio.c

index 1a7057991da67717e3103f6140dc259421f7c05d..7d3e16970be0363ae33a557fe0176de275fafe3f 100644 (file)
@@ -161,9 +161,9 @@ static struct pxa_gpio_chip pxa_gpio_chip[] = {
  * Use this instead of directly setting GRER/GFER.
  */
 
-static long GPIO_IRQ_rising_edge[4];
-static long GPIO_IRQ_falling_edge[4];
-static long GPIO_IRQ_mask[4];
+static unsigned long GPIO_IRQ_rising_edge[4];
+static unsigned long GPIO_IRQ_falling_edge[4];
+static unsigned long GPIO_IRQ_mask[4];
 
 /*
  * On PXA25x and PXA27x, GAFRx and GPDRx together decide the alternate