diff mbox series

iommu/mediatek: Include liunx/dma-mapping.h

Message ID 20200713101648.32056-1-joro@8bytes.org (mailing list archive)
State New, archived
Headers show
Series iommu/mediatek: Include liunx/dma-mapping.h | expand

Commit Message

Joerg Roedel July 13, 2020, 10:16 a.m. UTC
From: Joerg Roedel <jroedel@suse.de>

This fixes a compile error when cross-compiling the driver
on x86-32.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
---
 drivers/iommu/mtk_iommu.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Matthias Brugger July 13, 2020, 8:22 p.m. UTC | #1
On 13/07/2020 12:16, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@suse.de>
> 
> This fixes a compile error when cross-compiling the driver
> on x86-32.
> 
> Signed-off-by: Joerg Roedel <jroedel@suse.de>

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>

> ---
>   drivers/iommu/mtk_iommu.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iommu/mtk_iommu.h b/drivers/iommu/mtk_iommu.h
> index 6ff62452bbf9..122925dbe547 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
>
diff mbox series

Patch

diff --git a/drivers/iommu/mtk_iommu.h b/drivers/iommu/mtk_iommu.h
index 6ff62452bbf9..122925dbe547 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