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-Url: https://git.stricted.de/?a=commitdiff_plain;h=880a050f4ac4399c9da4aea3ca19a701f9a727e0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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