Skip to content

Commit 9a8a5dc

Browse files
committed
iommu/mediatek: Mark static functions in headers inline
This was an oversight while merging these functions. Fix it. Cc: Honghui Zhang <[email protected]> Fixes: 9ca340c ('iommu/mediatek: move the common struct into header file') Signed-off-by: Joerg Roedel <[email protected]>
1 parent 29b4817 commit 9a8a5dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/iommu/mtk_iommu.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,19 @@ struct mtk_iommu_data {
5555
bool enable_4GB;
5656
};
5757

58-
static int compare_of(struct device *dev, void *data)
58+
static inline int compare_of(struct device *dev, void *data)
5959
{
6060
return dev->of_node == data;
6161
}
6262

63-
static int mtk_iommu_bind(struct device *dev)
63+
static inline int mtk_iommu_bind(struct device *dev)
6464
{
6565
struct mtk_iommu_data *data = dev_get_drvdata(dev);
6666

6767
return component_bind_all(dev, &data->smi_imu);
6868
}
6969

70-
static void mtk_iommu_unbind(struct device *dev)
70+
static inline void mtk_iommu_unbind(struct device *dev)
7171
{
7272
struct mtk_iommu_data *data = dev_get_drvdata(dev);
7373

0 commit comments

Comments
 (0)