summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/mtk_iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2020-07-13 12:16:48 +0200
committerJoerg Roedel <jroedel@suse.de>2020-07-13 12:18:44 +0200
commit397e18b4bb2d27389361ceaf154a7acced648a72 (patch)
treea8f35d6c15e9c1def08c1662a307f8f9cc22b24c /drivers/iommu/mtk_iommu.h
parent068c86e92f3fc9df7d95a39710b40be811d861aa (diff)
downloadlinux-stable-397e18b4bb2d27389361ceaf154a7acced648a72.tar.gz
linux-stable-397e18b4bb2d27389361ceaf154a7acced648a72.tar.bz2
linux-stable-397e18b4bb2d27389361ceaf154a7acced648a72.zip
iommu/mediatek: Include liunx/dma-mapping.h
This fixes a compile error when cross-compiling the driver on x86-32. Signed-off-by: Joerg Roedel <jroedel@suse.de> Link: https://lore.kernel.org/r/20200713101648.32056-1-joro@8bytes.org
Diffstat (limited to 'drivers/iommu/mtk_iommu.h')
-rw-r--r--drivers/iommu/mtk_iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/mtk_iommu.h b/drivers/iommu/mtk_iommu.h
index 214898578026..6253e98d810c 100644
--- a/drivers/iommu/mtk_iommu.h
+++ b/drivers/iommu/mtk_iommu.h
@@ -15,6 +15,7 @@
#include <linux/iommu.h>
#include <linux/list.h>
#include <linux/spinlock.h>
+#include <linux/dma-mapping.h>
#include <soc/mediatek/smi.h>
#define MTK_LARB_COM_MAX 8