aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-nomadik/gpio.c
diff options
context:
space:
mode:
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>2010-11-11 03:40:38 -0500
committerLinus Walleij <linus.walleij@linaro.org>2011-03-14 09:05:15 -0400
commit2c8bb0eba96f6027ea1e6cf52376e07d18f54ddc (patch)
tree539da62ff7063e095c865d7472ba50ead77cf884 /arch/arm/plat-nomadik/gpio.c
parent9c66ee6f55667c5f7e118135d3175b0100e160b9 (diff)
plat-nomadik: type secondary IRQ correctly
Coverity found that we were checking an unsigned variable for >= zero. Type it correctly so that the check works as intended. Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/plat-nomadik/gpio.c')
-rw-r--r--arch/arm/plat-nomadik/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-nomadik/gpio.c b/arch/arm/plat-nomadik/gpio.c
index 71682a87a878..cc9de5964d89 100644
--- a/arch/arm/plat-nomadik/gpio.c
+++ b/arch/arm/plat-nomadik/gpio.c
@@ -53,7 +53,7 @@ struct nmk_gpio_chip {
53 struct clk *clk; 53 struct clk *clk;
54 unsigned int bank; 54 unsigned int bank;
55 unsigned int parent_irq; 55 unsigned int parent_irq;
56 unsigned int secondary_parent_irq; 56 int secondary_parent_irq;
57 u32 (*get_secondary_status)(unsigned int bank); 57 u32 (*get_secondary_status)(unsigned int bank);
58 spinlock_t lock; 58 spinlock_t lock;
59 /* Keep track of configured edges */ 59 /* Keep track of configured edges */