mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
a3a6cc8465
commit
3e12af7e13
|
@ -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)
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue