iommu/mediatek: Include liunx/dma-mapping.h
Subsystems (3)
Joerg Roedel
maintainerPATCH 1/1 iommu/mediatek: Include liunx/dma-mapping.h
From: Joerg Roedel <[email protected]>
This fixes a compile error when cross-compiling the driver on x86-32.
Signed-off-by Joerg Roedel <[email protected]>
--- drivers/iommu/mtk_iommu.h | 1 + 1 file changed, 1 insertion(+)
drivers/iommu/mtk_iommu.h +1 -0
@@ -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
Signature · 1 line
2.16.3
Quoted 6 lines · Joerg Roedel
From: Joerg Roedel <[email protected]>
This fixes a compile error when cross-compiling the driver on x86-32.
Signed-off-by Joerg Roedel <[email protected]>
Reviewed-by Matthias Brugger <[email protected]>
Quoted 17 lines
--- drivers/iommu/mtk_iommu.h | 1 + 1 file changed, 1 insertion(+)drivers/iommu/mtk_iommu.h +1
-0@@ -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