projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a6cc8
)
ASoC: max98090: Make struct dev_pm_ops const
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 18 Feb 2013 11:32:12 +0000
(17:02 +0530)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max98090.c
b/sound/soc/codecs/max98090.c
index fef370e033055ed1d8a6580ba012b824bf2688b1..1cf017f2f587f00725f72c573c795ff7694161be 100755
(executable)
--- 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)
};