summaryrefslogtreecommitdiff
path: root/arch/arm/plat-nomadik
diff options
context:
space:
mode:
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>2010-11-11 14:10:38 +0530
committerLinus Walleij <linus.walleij@linaro.org>2011-03-14 14:05:15 +0100
commit2c8bb0eba96f6027ea1e6cf52376e07d18f54ddc (patch)
tree539da62ff7063e095c865d7472ba50ead77cf884 /arch/arm/plat-nomadik
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')
-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 {
struct clk *clk;
unsigned int bank;
unsigned int parent_irq;
- unsigned int secondary_parent_irq;
+ int secondary_parent_irq;
u32 (*get_secondary_status)(unsigned int bank);
spinlock_t lock;
/* Keep track of configured edges */