iommu/mediatek: Make mtk_iommu_pm_ops static
authorJoerg Roedel <jroedel@suse.de>
Tue, 21 Jun 2016 09:52:13 +0000 (11:52 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 21 Jun 2016 09:54:06 +0000 (11:54 +0200)
The symbol exists elsewhere already, so that is fails to
link if the symbol is non-static.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu_v1.c

index 294485d..b8aeb07 100644 (file)
@@ -695,7 +695,7 @@ static int __maybe_unused mtk_iommu_resume(struct device *dev)
        return 0;
 }
 
-const struct dev_pm_ops mtk_iommu_pm_ops = {
+static const struct dev_pm_ops mtk_iommu_pm_ops = {
        SET_SYSTEM_SLEEP_PM_OPS(mtk_iommu_suspend, mtk_iommu_resume)
 };