Эх сурвалжийг харах

iommu: Fix compile error with !IOMMU_API

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Joerg Roedel 14 жил өмнө
parent
commit
95bdaf71cc
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;
 }