Commit 9a8a5dcf authored by Joerg Roedel's avatar Joerg Roedel

iommu/mediatek: Mark static functions in headers inline

This was an oversight while merging these functions. Fix it.

Cc: Honghui Zhang <>
Fixes: 9ca340c9 ('iommu/mediatek: move the common struct into header file')
Signed-off-by: default avatarJoerg Roedel <>
parent 29b4817d
......@@ -55,19 +55,19 @@ struct mtk_iommu_data {
bool enable_4GB;
static int compare_of(struct device *dev, void *data)
static inline int compare_of(struct device *dev, void *data)
return dev->of_node == data;
static int mtk_iommu_bind(struct device *dev)
static inline int mtk_iommu_bind(struct device *dev)
struct mtk_iommu_data *data = dev_get_drvdata(dev);
return component_bind_all(dev, &data->smi_imu);
static void mtk_iommu_unbind(struct device *dev)
static inline void mtk_iommu_unbind(struct device *dev)
struct mtk_iommu_data *data = dev_get_drvdata(dev);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment