ALSA: hda - remove SND_HDA_POWER_SAVE protection of struct hda_loopback_check
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 28 Jun 2011 06:50:39 +0000 (16:50 +1000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 Jun 2011 06:55:56 +0000 (08:55 +0200)
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>
sound/pci/hda/hda_local.h

index b333bf46a19c42e166d9ada2b34f3f81b18622ba..88b277e974096333e847755ae2aaa9dcd05ec84d 100644 (file)
@@ -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