summaryrefslogtreecommitdiffstats
path: root/linux/drivers/soc/fsl/qbman/bman_ccsr.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/soc/fsl/qbman/bman_ccsr.c')
-rw-r--r--linux/drivers/soc/fsl/qbman/bman_ccsr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/soc/fsl/qbman/bman_ccsr.c b/linux/drivers/soc/fsl/qbman/bman_ccsr.c
index 1df1d9c8..9fa5a6b1 100644
--- a/linux/drivers/soc/fsl/qbman/bman_ccsr.c
+++ b/linux/drivers/soc/fsl/qbman/bman_ccsr.c
@@ -223,7 +223,7 @@ static int fsl_bman_probe(struct platform_device *pdev)
bm_set_memory(fbpr_a, fbpr_sz);
err_irq = platform_get_irq(pdev, 0);
- if (err_irq <= 0) {
+ if (err_irq < 0) {
dev_info(dev, "Can't get %s IRQ\n", node->full_name);
return -ENODEV;
}