* [PATCH] iommu/mediatek: Include liunx/dma-mapping.h
@ 2020-07-13 10:16 Joerg Roedel
2020-07-13 20:22 ` Matthias Brugger
0 siblings, 1 reply; 2+ messages in thread
From: Joerg Roedel @ 2020-07-13 10:16 UTC (permalink / raw)
To: Joerg Roedel
Cc: Joerg Roedel, linux-kernel, iommu, linux-mediatek,
Matthias Brugger, linux-arm-kernel
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(+)
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
--
2.16.3
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iommu/mediatek: Include liunx/dma-mapping.h
2020-07-13 10:16 [PATCH] iommu/mediatek: Include liunx/dma-mapping.h Joerg Roedel
@ 2020-07-13 20:22 ` Matthias Brugger
0 siblings, 0 replies; 2+ messages in thread
From: Matthias Brugger @ 2020-07-13 20:22 UTC (permalink / raw)
To: Joerg Roedel
Cc: iommu, Joerg Roedel, linux-mediatek, linux-kernel, linux-arm-kernel
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
>
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-13 20:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13 10:16 [PATCH] iommu/mediatek: Include liunx/dma-mapping.h Joerg Roedel
2020-07-13 20:22 ` Matthias Brugger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).