Forráskód Böngészése

[ARM] 5003/1: Shut up sparse warnings

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>
Dmitry Baryshkov 17 éve
szülő
commit
d8a42fc455
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      arch/arm/mach-pxa/gpio.c

+ 3 - 3
arch/arm/mach-pxa/gpio.c

@@ -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