diff options
Diffstat (limited to 'drivers/dma/sh/rcar-dmac.c')
| -rw-r--r-- | drivers/dma/sh/rcar-dmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sh/rcar-dmac.c b/drivers/dma/sh/rcar-dmac.c index 74fa2b1a6a86..2b4f25698169 100644 --- a/drivers/dma/sh/rcar-dmac.c +++ b/drivers/dma/sh/rcar-dmac.c | |||
| @@ -1809,7 +1809,7 @@ static int rcar_dmac_probe(struct platform_device *pdev) | |||
| 1809 | * level we can't disable it selectively, so ignore channel 0 for now if | 1809 | * level we can't disable it selectively, so ignore channel 0 for now if |
| 1810 | * the device is part of an IOMMU group. | 1810 | * the device is part of an IOMMU group. |
| 1811 | */ | 1811 | */ |
| 1812 | if (pdev->dev.iommu_group) { | 1812 | if (device_iommu_mapped(&pdev->dev)) { |
| 1813 | dmac->n_channels--; | 1813 | dmac->n_channels--; |
| 1814 | channels_offset = 1; | 1814 | channels_offset = 1; |
| 1815 | } | 1815 | } |
