From: Joerg Roedel Date: Wed, 26 Apr 2017 13:34:06 +0000 (+0200) Subject: iommu: Include device.h in iommu.h X-Git-Tag: v4.12-rc1~50^2^9~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8245c1b1a3bb8474f91c69ccd13637d3589bb2c;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 6a6de187ddc0f..3b4fe4b79d200 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -19,11 +19,13 @@ #ifndef __LINUX_IOMMU_H #define __LINUX_IOMMU_H +#include +#include +#include #include #include #include -#include -#include + #include #define IOMMU_READ (1 << 0)