]> Pileus Git - ~andy/linux/commitdiff
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 f3b99e1c1042ac4073b681ee30ff7ea1f0f9a3a3..7e6ce7260b1c277190d58fd6c1d2ad3d948fae1a 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