From: Dmitry Baryshkov Date: Sat, 19 Apr 2008 09:42:18 +0000 (+0100) Subject: [ARM] 5003/1: Shut up sparse warnings X-Git-Tag: v2.6.26-rc1~1131^2~2^10~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d8a42fc45517081d1a8cf050a86eb79b0e290774;p=linux-2.6-omap-h63xx.git [ARM] 5003/1: Shut up sparse warnings Shut up sparse warnings by making GPIO_IRQ_MASK unisgned Signed-off-by: Dmitry Baryshkov Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/gpio.c b/arch/arm/mach-pxa/gpio.c index 1a7057991da..7d3e16970be 100644 --- a/arch/arm/mach-pxa/gpio.c +++ b/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