diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c index 721ffdb296d69333ab44decdbed713a5c4f5223a..f3c160e4c25df6b5a56acf002c519aff36ee91fc 100644 --- a/drivers/iommu/mtk_iommu.c +++ b/drivers/iommu/mtk_iommu.c @@ -662,7 +662,7 @@ static int mtk_iommu_remove(struct platform_device *pdev) return 0; } -static int mtk_iommu_suspend(struct device *dev) +static int __maybe_unused mtk_iommu_suspend(struct device *dev) { struct mtk_iommu_data *data = dev_get_drvdata(dev); struct mtk_iommu_suspend_reg *reg = &data->reg; @@ -677,7 +677,7 @@ static int mtk_iommu_suspend(struct device *dev) return 0; } -static int mtk_iommu_resume(struct device *dev) +static int __maybe_unused mtk_iommu_resume(struct device *dev) { struct mtk_iommu_data *data = dev_get_drvdata(dev); struct mtk_iommu_suspend_reg *reg = &data->reg;