diff options
author | Florian Fainelli <[email protected]> | 2009-03-13 15:41:43 +0100 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2009-03-24 22:16:34 -0400 |
commit | 9223d01b2fdf638a73888ad73a1784fca3454c1e (patch) | |
tree | 44a9bb462424f5b6434fd45137dc6ea73ef113e1 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | b2a034cf16a1642e647497c70c1cd9c09bf39412 (diff) |
pata-rb532-cf: platform_get_irq() fix ignored failure
platform_get_irq() can return -ENXIO, but since 'irq' is an
unsigned int, it does not show when the IRQ resource wasn't found.
Make irq an int so that we can use a single variable to test the
platform_get_irq() return value.
Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: Phil Sutter <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions