]> Pileus Git - ~andy/linux/commitdiff
iommu: Fix compile error with !IOMMU_API
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 15 Nov 2011 11:48:29 +0000 (12:48 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 15 Nov 2011 11:48:29 +0000 (12:48 +0100)
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
include/linux/iommu.h

index 93617e7779a1057b20e56861a14bd33091919d76..0f318fd549beb73d2311096e56d33ca8bf5fb5df 100644 (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;
 }