Browse Source

iommu: Fix compile error with !IOMMU_API

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Joerg Roedel 13 năm trước cách đây
mục cha
commit
95bdaf71cc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      include/linux/iommu.h

+ 1 - 1
include/linux/iommu.h

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