iommu: Fix compile error with !IOMMU_API

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
Joerg Roedel 2011-11-15 12:48:29 +01:00
parent bcb71abe7d
commit 95bdaf71cc

View file

@ -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;
}