aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm5100.c
diff options
context:
space:
mode:
authorGravatar Axel Lin <axel.lin@ingics.com> 2015-07-17 10:54:49 +0800
committerGravatar Mark Brown <broonie@kernel.org> 2015-07-17 12:14:48 +0100
commit42d1b8ce2973c2f5956f4d4e4af002986ccc5748 (patch)
tree30196bd9df22e6336dd1eb680cf156180816fbfe /sound/soc/codecs/wm5100.c
parentLinux 4.2-rc1 (diff)
downloadlinux-42d1b8ce2973c2f5956f4d4e4af002986ccc5748.tar.gz
linux-42d1b8ce2973c2f5956f4d4e4af002986ccc5748.tar.bz2
linux-42d1b8ce2973c2f5956f4d4e4af002986ccc5748.zip
ASoC: Constify dev_pm_ops variables
The dev_pm_ops variables are not modified after initialization in these drivers, so make them const. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm5100.c')
-rw-r--r--sound/soc/codecs/wm5100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index 4c10cd88c1af..3ea29cfe51fc 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -2708,7 +2708,7 @@ static int wm5100_runtime_resume(struct device *dev)
}
#endif
-static struct dev_pm_ops wm5100_pm = {
+static const struct dev_pm_ops wm5100_pm = {
SET_RUNTIME_PM_OPS(wm5100_runtime_suspend, wm5100_runtime_resume,
NULL)
};