summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2017-05-03 01:21:12 +0300
committerJoerg Roedel <jroedel@suse.de>2017-05-04 19:04:24 +0300
commit290d638e04e7b94ff34d2f5e9426e7ce617e9a59 (patch)
tree8e0806aa84bba1ca1fdec63c47973165c8b19016 /drivers/soc
parent4512c7bccb7794fb6d6ff37ae449154413bd4963 (diff)
downloadlinux-290d638e04e7b94ff34d2f5e9426e7ce617e9a59.tar.xz
soc/qbman: Move dma-mapping.h include to qman_priv.h
With the include there it fixes all build failures in this directory caused by commit 461a6946b1f9. Fixes: 461a6946b1f9 ("iommu: Remove pci.h include from trace/events/iommu.h") Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/fsl/qbman/qman_portal.c2
-rw-r--r--drivers/soc/fsl/qbman/qman_priv.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/soc/fsl/qbman/qman_portal.c b/drivers/soc/fsl/qbman/qman_portal.c
index 4a6a8ae5e0aa..adbaa30d3c5a 100644
--- a/drivers/soc/fsl/qbman/qman_portal.c
+++ b/drivers/soc/fsl/qbman/qman_portal.c
@@ -30,8 +30,6 @@
#include "qman_priv.h"
-#include <linux/dma-mapping.h>
-
struct qman_portal *qman_dma_portal;
EXPORT_SYMBOL(qman_dma_portal);
diff --git a/drivers/soc/fsl/qbman/qman_priv.h b/drivers/soc/fsl/qbman/qman_priv.h
index 53685b59718e..4f2ef3ebd88e 100644
--- a/drivers/soc/fsl/qbman/qman_priv.h
+++ b/drivers/soc/fsl/qbman/qman_priv.h
@@ -33,6 +33,7 @@
#include "dpaa_sys.h"
#include <soc/fsl/qman.h>
+#include <linux/dma-mapping.h>
#include <linux/iommu.h>
#if defined(CONFIG_FSL_PAMU)