Преглед на файлове

[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 години
родител
ревизия
d8a42fc455
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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.
  * 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
  * On PXA25x and PXA27x, GAFRx and GPDRx together decide the alternate