Skip to content

Commit

Permalink
ALSA: hda - remove SND_HDA_POWER_SAVE protection of struct hda_loopba…
Browse files Browse the repository at this point in the history
…ck_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>
  • Loading branch information
Stephen Rothwell authored and Takashi Iwai committed Jun 28, 2011
1 parent 4f574b7 commit 880a050
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/pci/hda/hda_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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
Expand Down

0 comments on commit 880a050

Please sign in to comment.