From: Dmitry Baryshkov Date: Sat, 19 Apr 2008 09:42:18 +0000 (+0100) Subject: [ARM] 5003/1: Shut up sparse warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8a42fc45517081d1a8cf050a86eb79b0e290774;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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