diff options
Diffstat (limited to 'drivers/gpio/gpio-mxc.c')
-rw-r--r-- | drivers/gpio/gpio-mxc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index 3abea3f0b307..92692251ade1 100644 --- a/drivers/gpio/gpio-mxc.c +++ b/drivers/gpio/gpio-mxc.c | |||
@@ -424,6 +424,9 @@ static int mxc_gpio_probe(struct platform_device *pdev) | |||
424 | return PTR_ERR(port->base); | 424 | return PTR_ERR(port->base); |
425 | 425 | ||
426 | port->irq_high = platform_get_irq(pdev, 1); | 426 | port->irq_high = platform_get_irq(pdev, 1); |
427 | if (port->irq_high < 0) | ||
428 | port->irq_high = 0; | ||
429 | |||
427 | port->irq = platform_get_irq(pdev, 0); | 430 | port->irq = platform_get_irq(pdev, 0); |
428 | if (port->irq < 0) | 431 | if (port->irq < 0) |
429 | return port->irq; | 432 | return port->irq; |