From: Mike Frysinger Date: Sat, 16 Oct 2010 17:24:52 +0000 (-0400) Subject: ALSA: fix unused warnings with snd_power_get_state X-Git-Tag: v2.6.37-rc1~126^2~2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=363129ea90e0835b8552b797714cd200f674e287;p=pandora-kernel.git ALSA: fix unused warnings with snd_power_get_state If we compile the ASoC code with PM disabled, we hit stuff like: sound/soc/soc-dapm.c: In function 'snd_soc_dapm_suspend_check': sound/soc/soc-dapm.c:440: warning: unused variable 'codec' So tweak the stub macro to avoid these issues. Signed-off-by: Mike Frysinger Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed