From: Joerg Roedel Date: Tue, 29 Jan 2013 13:36:31 +0000 (+0100) Subject: iommu: Make sure DOMAIN_ATTR_MAX is really the maximum X-Git-Tag: firefly_0821_release~3680^2~1026^2^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a8b8a88a9e3042d41326c854272c881664acba1c;p=firefly-linux-kernel-4.4.55.git iommu: Make sure DOMAIN_ATTR_MAX is really the maximum Move it to the end of the list. Signed-off-by: Joerg Roedel --- 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 { #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