projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b17336c
)
iommu/mediatek: Make mtk_iommu_pm_ops static
author
Joerg Roedel
<jroedel@suse.de>
Tue, 21 Jun 2016 09:52:13 +0000
(11:52 +0200)
committer
Joerg 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/mtk_iommu_v1.c
b/drivers/iommu/mtk_iommu_v1.c
index 294485ddac2b7957d1be161837d683f0e5cf9bd8..b8aeb07684836c902a9f87829985f05a44fdcc5d 100644
(file)
--- 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)
};