diff options
author | Joerg Roedel <jroedel@suse.de> | 2016-06-21 11:52:13 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-06-21 11:54:06 +0200 |
commit | 131bc8ebb46a84f93d90a6d95347cfb9402f58a3 (patch) | |
tree | c9a690dbf93911c71c211ff91dcb39be7e424aa6 /drivers/iommu | |
parent | b17336c55d8928c4c693d3feb6245508e562aab5 (diff) | |
download | linux-131bc8ebb46a84f93d90a6d95347cfb9402f58a3.tar.gz linux-131bc8ebb46a84f93d90a6d95347cfb9402f58a3.tar.bz2 linux-131bc8ebb46a84f93d90a6d95347cfb9402f58a3.zip |
iommu/mediatek: Make mtk_iommu_pm_ops static
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>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/mtk_iommu_v1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/mtk_iommu_v1.c b/drivers/iommu/mtk_iommu_v1.c index 294485ddac2b..b8aeb0768483 100644 --- a/drivers/iommu/mtk_iommu_v1.c +++ b/drivers/iommu/mtk_iommu_v1.c @@ -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) }; |