]> Pileus Git - ~andy/linux/commitdiff
ASoC: max98090: Make struct dev_pm_ops const
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 18 Feb 2013 11:32:12 +0000 (17:02 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Mar 2013 03:13:14 +0000 (11:13 +0800)
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>
sound/soc/codecs/max98090.c

index fef370e033055ed1d8a6580ba012b824bf2688b1..1cf017f2f587f00725f72c573c795ff7694161be 100755 (executable)
@@ -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)
 };