aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/dma/imx-sdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 125c326c525f..fc874e53bec4 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -1483,7 +1483,7 @@ static int sdma_probe(struct platform_device *pdev)
1483 1483
1484 irq = platform_get_irq(pdev, 0); 1484 irq = platform_get_irq(pdev, 0);
1485 if (irq < 0) 1485 if (irq < 0)
1486 return -EINVAL; 1486 return irq;
1487 1487
1488 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); 1488 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
1489 sdma->regs = devm_ioremap_resource(&pdev->dev, iores); 1489 sdma->regs = devm_ioremap_resource(&pdev->dev, iores);