aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoerg Roedel <joro@8bytes.org>2013-01-29 08:36:31 -0500
committerJoerg Roedel <joro@8bytes.org>2013-02-06 04:46:53 -0500
commita8b8a88a9e3042d41326c854272c881664acba1c (patch)
tree29d248095fd155a769b9b358bfc6331310878dd3 /include
parent097e3635dc35d1cfc14057f8006f1b1f0eaf1987 (diff)
iommu: Make sure DOMAIN_ATTR_MAX is really the maximum
Move it to the end of the list. Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/iommu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index f3b99e1c1042..7e6ce7260b1c 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -58,8 +58,8 @@ struct iommu_domain {
58#define IOMMU_CAP_INTR_REMAP 0x2 /* isolates device intrs */ 58#define IOMMU_CAP_INTR_REMAP 0x2 /* isolates device intrs */
59 59
60enum iommu_attr { 60enum iommu_attr {
61 DOMAIN_ATTR_MAX,
62 DOMAIN_ATTR_GEOMETRY, 61 DOMAIN_ATTR_GEOMETRY,
62 DOMAIN_ATTR_MAX,
63}; 63};
64 64
65#ifdef CONFIG_IOMMU_API 65#ifdef CONFIG_IOMMU_API