diff options
Diffstat (limited to '')
-rw-r--r-- | linux/drivers/soc/fsl/qbman/qman_portal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/soc/fsl/qbman/qman_portal.c b/linux/drivers/soc/fsl/qbman/qman_portal.c index 640343ac..ffef1854 100644 --- a/linux/drivers/soc/fsl/qbman/qman_portal.c +++ b/linux/drivers/soc/fsl/qbman/qman_portal.c @@ -278,7 +278,7 @@ static int qman_portal_probe(struct platform_device *pdev) pcfg->channel = val; pcfg->cpu = -1; irq = platform_get_irq(pdev, 0); - if (irq <= 0) { + if (irq < 0) { dev_err(dev, "Can't get %s IRQ\n", node->full_name); return -ENXIO; } |