commit | d34e4e00adbbc91ff9fc96ed9a4e4b65161868da | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Aug 09 15:47:15 2012 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Aug 09 15:47:15 2012 +0200 |
tree | 83db080b68eedf7b4fcc79b94358c2f884e0fdae | |
parent | 94c142a160d63edac0e1fca7848960dcf75dd2a9 [diff] |
ALSA: platform: Check CONFIG_PM_SLEEP instead of CONFIG_PM 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>