aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2017-04-26 15:34:06 +0200
committerJoerg Roedel <jroedel@suse.de>2017-04-27 11:24:10 +0200
commite8245c1b1a3bb8474f91c69ccd13637d3589bb2c (patch)
treec1bf5a6f7f397bf3d9a9033d88e5095a611d760b /include/linux/iommu.h
parentiommu: Make iommu_bus_notifier return NOTIFY_DONE rather than error code (diff)
downloadwireguard-linux-e8245c1b1a3bb8474f91c69ccd13637d3589bb2c.tar.xz
wireguard-linux-e8245c1b1a3bb8474f91c69ccd13637d3589bb2c.zip
iommu: Include device.h in iommu.h
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@suse.de>
Diffstat (limited to 'include/linux/iommu.h')
-rw-r--r--include/linux/iommu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 6a6de187ddc0..3b4fe4b79d20 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)