diff options
author | Joerg Roedel <jroedel@suse.de> | 2020-07-13 12:16:48 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-07-13 12:18:44 +0200 |
commit | 397e18b4bb2d27389361ceaf154a7acced648a72 (patch) | |
tree | a8f35d6c15e9c1def08c1662a307f8f9cc22b24c /drivers/iommu/mtk_iommu.h | |
parent | 068c86e92f3fc9df7d95a39710b40be811d861aa (diff) |
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.h | 1 |
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 |