iommu: Make sure DOMAIN_ATTR_MAX is really the maximum
authorJoerg Roedel <joro@8bytes.org>
Tue, 29 Jan 2013 13:36:31 +0000 (14:36 +0100)
committerJoerg Roedel <joro@8bytes.org>
Wed, 6 Feb 2013 09:46:53 +0000 (10:46 +0100)
Move it to the end of the list.

Signed-off-by: Joerg Roedel <joro@8bytes.org>
include/linux/iommu.h

index f3b99e1..7e6ce72 100644 (file)
@@ -58,8 +58,8 @@ struct iommu_domain {
 #define IOMMU_CAP_INTR_REMAP           0x2     /* isolates device intrs */
 
 enum iommu_attr {
-       DOMAIN_ATTR_MAX,
        DOMAIN_ATTR_GEOMETRY,
+       DOMAIN_ATTR_MAX,
 };
 
 #ifdef CONFIG_IOMMU_API