Skip to content

Commit

Permalink
iommu: Fix compile error with !IOMMU_API
Browse files Browse the repository at this point in the history
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
  • Loading branch information
Joerg Roedel committed Nov 15, 2011
1 parent bcb71ab commit 95bdaf7
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 @@ -181,7 +181,7 @@ static inline void iommu_set_fault_handler(struct iommu_domain *domain,
{
}

static inline int iommu_device_group(struct device *dev, unsigned int *groupid);
static inline int iommu_device_group(struct device *dev, unsigned int *groupid)
{
return -ENODEV;
}
Expand Down

0 comments on commit 95bdaf7

Please sign in to comment.