summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-06-28 16:50:39 +1000
committerTakashi Iwai <tiwai@suse.de>2011-06-28 08:55:56 +0200
commit880a050f4ac4399c9da4aea3ca19a701f9a727e0 (patch)
tree56d02344f11897659efac752162b272e89d06d74 /sound/pci/hda/hda_local.h
parent4f574b7b1a1cc8aac617e938459e8f03a641e678 (diff)
downloadlinux-stable-880a050f4ac4399c9da4aea3ca19a701f9a727e0.tar.gz
linux-stable-880a050f4ac4399c9da4aea3ca19a701f9a727e0.tar.bz2
linux-stable-880a050f4ac4399c9da4aea3ca19a701f9a727e0.zip
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 <sfr@canb.auug.org.au> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r--sound/pci/hda/hda_local.h2
1 files changed, 0 insertions, 2 deletions
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