[PATCH 1/4] iommu: Include device.h in iommu.h
From: Joerg Roedel
Date: Wed Apr 26 2017 - 11:45:32 EST
From: Joerg Roedel <jroedel@xxxxxxx>
We make use of 'struct device' in iommu.h, so include
device.h to make it available explicitly.
Re-order the other headers while at it.
Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>
---
include/linux/iommu.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 2e4de0d..0232104 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -19,11 +19,13 @@
#ifndef __LINUX_IOMMU_H
#define __LINUX_IOMMU_H
+#include <linux/scatterlist.h>
+#include <linux/device.h>
+#include <linux/types.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/of.h>
-#include <linux/types.h>
-#include <linux/scatterlist.h>
+
#include <trace/events/iommu.h>
#define IOMMU_READ (1 << 0)
--
1.9.1