diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 092384b71ab22e6dd14c660bbbb8a1b91439a093..d993036c94c2f4cfda47f161d35fe98c8f0f916c 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -1031,9 +1031,7 @@ static inline int iommu_clear_dirty_log(struct iommu_domain *domain, return -EINVAL; } -static inline int iommu_device_register(struct iommu_device *iommu, - const struct iommu_ops *ops, - struct device *hwdev) +static inline int iommu_device_register(struct iommu_device *iommu) { return -ENODEV; }