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>
This commit is contained in:
parent
097e3635dc
commit
a8b8a88a9e
@ -58,8 +58,8 @@ struct iommu_domain {
|
|||||||
#define IOMMU_CAP_INTR_REMAP 0x2 /* isolates device intrs */
|
#define IOMMU_CAP_INTR_REMAP 0x2 /* isolates device intrs */
|
||||||
|
|
||||||
enum iommu_attr {
|
enum iommu_attr {
|
||||||
DOMAIN_ATTR_MAX,
|
|
||||||
DOMAIN_ATTR_GEOMETRY,
|
DOMAIN_ATTR_GEOMETRY,
|
||||||
|
DOMAIN_ATTR_MAX,
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_IOMMU_API
|
#ifdef CONFIG_IOMMU_API
|
||||||
|
Loading…
x
Reference in New Issue
Block a user