summaryrefslogtreecommitdiffstats
path: root/drivers/soc/fsl
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2017-05-03 00:21:12 +0200
committerJoerg Roedel <jroedel@suse.de>2017-05-04 18:04:24 +0200
commit290d638e04e7b94ff34d2f5e9426e7ce617e9a59 (patch)
tree8e0806aa84bba1ca1fdec63c47973165c8b19016 /drivers/soc/fsl
parentsoc/qbman: Fix implicit header dependency now causing build fails (diff)
downloadlinux-290d638e04e7b94ff34d2f5e9426e7ce617e9a59.tar.xz
linux-290d638e04e7b94ff34d2f5e9426e7ce617e9a59.zip
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/fsl')
-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)