Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1631551
| From | Joerg Roedel <joro@8bytes.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/4] iommu: Include device.h in iommu.h |
| Date | 2017-04-26 17:50 +0200 |
| Message-ID | <tAxmy-4e9-31@gated-at.bofh.it> (permalink) |
| References | <tAxmx-4e9-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Joerg Roedel <jroedel@suse.de> 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> --- 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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/4] iommu: Header file cleanups Joerg Roedel <joro@8bytes.org> - 2017-04-26 17:50 +0200 [PATCH 3/4] iommu: Remove pci.h include from trace/events/iommu.h Joerg Roedel <joro@8bytes.org> - 2017-04-26 17:50 +0200 [PATCH 1/4] iommu: Include device.h in iommu.h Joerg Roedel <joro@8bytes.org> - 2017-04-26 17:50 +0200
csiph-web