Skip to content

Commit

Permalink
ASoC: max98090: Make struct dev_pm_ops const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Mark Brown committed Mar 4, 2013
1 parent a3a6cc8 commit 3e12af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/max98090.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};
Expand Down

0 comments on commit 3e12af7

Please sign in to comment.