Skip to contentSkip to conversation

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

PATCH In review Joerg Roedel 2 participants 2 messages Jul 13, 2020

Subsystems (3)
lore
Share & tools
lore

Joerg Roedel

author maintainer
#0 lore raw

PATCH 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.

---
 drivers/iommu/mtk_iommu.h | 1 +
 1 file changed, 1 insertion(+)
drivers/iommu/mtk_iommu.h +1 -0
index 6ff62452bbf9..122925dbe547 100644
@@ -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
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Joerg Roedel

From: Joerg Roedel <[email protected]>

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

Quoted 17 lines
---
  drivers/iommu/mtk_iommu.h | 1 +
  1 file changed, 1 insertion(+)
drivers/iommu/mtk_iommu.h +1 -0
index 6ff62452bbf9..122925dbe547 100644
@@ -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