diff options
author | Joerg Roedel <jroedel@suse.de> | 2017-04-26 15:34:06 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-04-27 11:24:10 +0200 |
commit | e8245c1b1a3bb8474f91c69ccd13637d3589bb2c (patch) | |
tree | c1bf5a6f7f397bf3d9a9033d88e5095a611d760b | |
parent | 3ba8775f64484a2b56bf3c88d09a186d819fa348 (diff) | |
download | talos-op-linux-e8245c1b1a3bb8474f91c69ccd13637d3589bb2c.tar.gz talos-op-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>
-rw-r--r-- | include/linux/iommu.h | 6 |
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) |