提交 3e12af7e 编写于 作者: S Sachin Kamat 提交者: Mark Brown

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: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 a3a6cc84
......@@ -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)
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册