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>hifive-unleashed-5.1
parent
4f574b7b1a
commit
880a050f4a
|
@ -565,7 +565,6 @@ int snd_hda_get_bool_hint(struct hda_codec *codec, const char *key)
|
||||||
* power-management
|
* power-management
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_SND_HDA_POWER_SAVE
|
|
||||||
void snd_hda_schedule_power_save(struct hda_codec *codec);
|
void snd_hda_schedule_power_save(struct hda_codec *codec);
|
||||||
|
|
||||||
struct hda_amp_list {
|
struct hda_amp_list {
|
||||||
|
@ -582,7 +581,6 @@ struct hda_loopback_check {
|
||||||
int snd_hda_check_amp_list_power(struct hda_codec *codec,
|
int snd_hda_check_amp_list_power(struct hda_codec *codec,
|
||||||
struct hda_loopback_check *check,
|
struct hda_loopback_check *check,
|
||||||
hda_nid_t nid);
|
hda_nid_t nid);
|
||||||
#endif /* CONFIG_SND_HDA_POWER_SAVE */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AMP control callbacks
|
* AMP control callbacks
|
||||||
|
|
Loading…
Reference in New Issue