From: Stephen Rothwell Date: Tue, 28 Jun 2011 06:50:39 +0000 (+1000) Subject: ALSA: hda - remove SND_HDA_POWER_SAVE protection of struct hda_loopback_check X-Git-Tag: MMI-PSA29.97-13-9~18103^2~124^2~63 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=880a050f4ac4399c9da4aea3ca19a701f9a727e0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ALSA: hda - remove SND_HDA_POWER_SAVE protection of struct hda_loopback_check to fix build problems when it is disabled. Signed-off-by: Stephen Rothwell Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index b333bf46a19c..88b277e97409 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h @@ -565,7 +565,6 @@ int snd_hda_get_bool_hint(struct hda_codec *codec, const char *key) * power-management */ -#ifdef CONFIG_SND_HDA_POWER_SAVE void snd_hda_schedule_power_save(struct hda_codec *codec); struct hda_amp_list { @@ -582,7 +581,6 @@ struct hda_loopback_check { int snd_hda_check_amp_list_power(struct hda_codec *codec, struct hda_loopback_check *check, hda_nid_t nid); -#endif /* CONFIG_SND_HDA_POWER_SAVE */ /* * AMP control callbacks