aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-02-18 06:32:12 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-03 22:13:14 -0500
commit3e12af7e139275e5822383e210c86e0ff1ea185c (patch)
tree86cedc71cf0774e1d2ef6de64d722498e6dcba30
parenta3a6cc84652d82ff795c519c6187d37baa1d9697 (diff)
ASoC: max98090: Make struct dev_pm_ops const
Silences the following checkpatch warning: WARNING: struct dev_pm_ops should normally be const. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rwxr-xr-xsound/soc/codecs/max98090.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index fef370e03305..1cf017f2f587 100755
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -2362,7 +2362,7 @@ static int max98090_runtime_suspend(struct device *dev)
2362 return 0; 2362 return 0;
2363} 2363}
2364 2364
2365static struct dev_pm_ops max98090_pm = { 2365static const struct dev_pm_ops max98090_pm = {
2366 SET_RUNTIME_PM_OPS(max98090_runtime_suspend, 2366 SET_RUNTIME_PM_OPS(max98090_runtime_suspend,
2367 max98090_runtime_resume, NULL) 2367 max98090_runtime_resume, NULL)
2368}; 2368};