From: Takashi Iwai Date: Thu, 9 Aug 2012 13:47:15 +0000 (+0200) Subject: ALSA: platform: Check CONFIG_PM_SLEEP instead of CONFIG_PM X-Git-Tag: v3.6-rc3~14^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d34e4e00adbbc91ff9fc96ed9a4e4b65161868da;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed