dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Virupax Sadashivpetimath 2010-11-11 14:10:38 +05:30 committed by Linus Walleij
parent 9c66ee6f55
commit 2c8bb0eba9
1 changed files with 1 additions and 1 deletions

View File

@ -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 */