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:
eba8432
)
ASoC: max98090: Fix build warning
author
Thierry Reding
<treding@nvidia.com>
Mon, 7 Jul 2014 13:18:19 +0000
(15:18 +0200)
committer
Mark Brown
<broonie@linaro.org>
Mon, 7 Jul 2014 15:06:35 +0000
(17:06 +0200)
The max98090_{suspend,resume}() functions are used for system sleep and
therefore need to be guarded by CONFIG_PM_SLEEP rather than CONFIG_PM.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/max98090.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max98090.c
b/sound/soc/codecs/max98090.c
index 0e59e5117e430467598609c22ebc0dbcd9640094..6816578ea8f7913dba491a8d28d6a1a58b4627c7 100644
(file)
--- a/
sound/soc/codecs/max98090.c
+++ b/
sound/soc/codecs/max98090.c
@@
-2408,7
+2408,7
@@
static int max98090_runtime_suspend(struct device *dev)
}
#endif
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM
_SLEEP
static int max98090_resume(struct device *dev)
{
struct max98090_priv *max98090 = dev_get_drvdata(dev);