Skip to contentSkip to conversation

iommu/iova: Temporarily include dma-mapping.h from iova.h

PATCH In review Joerg Roedel 2 participants 2 messages Dec 20, 2021

Subsystems (2)
lore
Share & tools
lore

Joerg Roedel

author maintainer
#0 lore raw

PATCH 1/1 iommu/iova: Temporarily include dma-mapping.h from iova.h

From: Joerg Roedel <[email protected]>

Some users of iova.h still expect that dma-mapping.h is also included. Re-add the include until these users are updated to fix compile failures in the iommu tree.

---
 include/linux/iova.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/iova.h +1 -0
index 0abd48c5e622..cea79cb9f26c 100644
@@ -12,6 +12,7 @@
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/rbtree.h>
+#include <linux/dma-mapping.h>
 
 /* iova structure */
 struct iova {
Signature · 1 line
2.34.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Joerg Roedel

From: Joerg Roedel <[email protected]>

Some users of iova.h still expect that dma-mapping.h is also included. Re-add the include until these users are updated to fix compile failures in the iommu tree.

Quoted 17 lines
---
  include/linux/iova.h | 1 +
  1 file changed, 1 insertion(+)
include/linux/iova.h +1 -0
index 0abd48c5e622..cea79cb9f26c 100644
@@ -12,6 +12,7 @@
  #include <linux/types.h>
  #include <linux/kernel.h>
  #include <linux/rbtree.h>
+#include <linux/dma-mapping.h>
 
  /* iova structure */
  struct iova {