git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94c142a
)
ALSA: platform: Check CONFIG_PM_SLEEP instead of CONFIG_PM
author
Takashi Iwai
<tiwai@suse.de>
Thu, 9 Aug 2012 13:47:15 +0000
(15:47 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 9 Aug 2012 13:47:15 +0000
(15:47 +0200)
When CONFIG_PM is set but CONFIG_PM_SLEEP is unset,
SIMPLE_DEV_PM_OPS() ignores the given functions, and this leads to
compile warnings.
For avoiding this, simply check CONFIG_PM_SLEEP instead of CONFIG_PM.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
No differences found