summaryrefslogtreecommitdiffstats
path: root/drivers/dma/sirf-dma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-10-03 09:18:29 +0530
committerVinod Koul <vinod.koul@intel.com>2016-10-03 09:18:29 +0530
commitf35d7633f5adfd7f93c0391b48ef78a14682e6b2 (patch)
tree1b78835a9a527c246385e0c003c145eea33a83d6 /drivers/dma/sirf-dma.c
parent4dfc9afe0d46caa309c5eaede841551d4056fefc (diff)
parent86c7e6836479c4045a9a81ed5ea76c51d719f9c1 (diff)
downloadlinux-f35d7633f5adfd7f93c0391b48ef78a14682e6b2.tar.gz
linux-f35d7633f5adfd7f93c0391b48ef78a14682e6b2.tar.bz2
linux-f35d7633f5adfd7f93c0391b48ef78a14682e6b2.zip
Merge branch 'topic/no_irq' into for-linus
Diffstat (limited to 'drivers/dma/sirf-dma.c')
-rw-r--r--drivers/dma/sirf-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sirf-dma.c b/drivers/dma/sirf-dma.c
index a96e4a480de5..8f62edad51be 100644
--- a/drivers/dma/sirf-dma.c
+++ b/drivers/dma/sirf-dma.c
@@ -866,7 +866,7 @@ static int sirfsoc_dma_probe(struct platform_device *op)
}
sdma->irq = irq_of_parse_and_map(dn, 0);
- if (sdma->irq == NO_IRQ) {
+ if (!sdma->irq) {
dev_err(dev, "Error mapping IRQ!\n");
return -EINVAL;
}