Skip to content

Commit

Permalink
iommu: Make sure DOMAIN_ATTR_MAX is really the maximum
Browse files Browse the repository at this point in the history
Move it to the end of the list.

Signed-off-by: Joerg Roedel <[email protected]>
  • Loading branch information
joergroedel committed Feb 6, 2013
1 parent 097e363 commit a8b8a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/iommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8b8a88

Please sign in to comment.