aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2017-04-26 09:34:06 -0400
committerJoerg Roedel <jroedel@suse.de>2017-04-27 05:24:10 -0400
commite8245c1b1a3bb8474f91c69ccd13637d3589bb2c (patch)
treec1bf5a6f7f397bf3d9a9033d88e5095a611d760b
parent3ba8775f64484a2b56bf3c88d09a186d819fa348 (diff)
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>
-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 @@
19#ifndef __LINUX_IOMMU_H 19#ifndef __LINUX_IOMMU_H
20#define __LINUX_IOMMU_H 20#define __LINUX_IOMMU_H
21 21
22#include <linux/scatterlist.h>
23#include <linux/device.h>
24#include <linux/types.h>
22#include <linux/errno.h> 25#include <linux/errno.h>
23#include <linux/err.h> 26#include <linux/err.h>
24#include <linux/of.h> 27#include <linux/of.h>
25#include <linux/types.h> 28
26#include <linux/scatterlist.h>
27#include <trace/events/iommu.h> 29#include <trace/events/iommu.h>
28 30
29#define IOMMU_READ (1 << 0) 31#define IOMMU_READ (1 << 0)