Просмотр исходного кода

iommu: Fix compile error with !IOMMU_API

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Joerg Roedel 14 лет назад
Родитель
Сommit
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;
 }