Skip to content

Commit

Permalink
iommu/mediatek: Make mtk_iommu_pm_ops static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
joergroedel committed Jun 21, 2016
1 parent b17336c commit 131bc8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iommu/mtk_iommu_v1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};

Expand Down

0 comments on commit 131bc8e

Please sign in to comment.