18 Feb
2013
18 Feb
'13
12:32 p.m.
Silences the following checkpatch warning: WARNING: struct dev_pm_ops should normally be const.
Signed-off-by: Sachin Kamat sachin.kamat@linaro.org --- sound/soc/codecs/max98090.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index fef370e..1cf017f 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) return 0; }
-static struct dev_pm_ops max98090_pm = { +static const struct dev_pm_ops max98090_pm = { SET_RUNTIME_PM_OPS(max98090_runtime_suspend, max98090_runtime_resume, NULL) };
--
1.7.4.1