Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cfebef6 authored by Runmin Wang's avatar Runmin Wang
Browse files

iommu: Change api header to static inline



Update the function header of iommu_fwspec_get_id to static inline
so compilation proceeds when CONFIG_IOMMU_API=n.

Change-Id: Ib903e537cf26d1352a7c13c843269ebcd369a128
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent 5f78b91f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -706,7 +706,7 @@ static inline int iommu_fwspec_add_ids(struct device *dev, u32 *ids,
	return -ENODEV;
}

int iommu_fwspec_get_id(struct device *dev, u32 *id)
static inline int iommu_fwspec_get_id(struct device *dev, u32 *id)
{
	return -ENODEV;
}