diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-07-26 11:52:50 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-07-26 19:21:18 +0400 |
commit | 2a43952a99072f43c92355882b7965c8762ae3f3 (patch) | |
tree | d51d4f3623d5f9fd6682ed0823ed8bdf05b76b20 /sound/pci/hda/hda_local.h | |
parent | 7df1ce1a8197a4afec78584f56e74ab84dcab97c (diff) | |
download | linux-2a43952a99072f43c92355882b7965c8762ae3f3.tar.xz |
ALSA: hda - Make CONFIG_SND_HDA_POWER_SAVE depending on CONFIG_PM
It makes little sense to enable power-saving without PM.
This removes SND_HDA_NEEDS_RESUME define so that we can use CONFIG_PM
in all places.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 88b277e97409..2e7ac31afa8d 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h @@ -131,7 +131,7 @@ int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int idx, int mask, int val); int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int mask, int val); -#ifdef SND_HDA_NEEDS_RESUME +#ifdef CONFIG_PM void snd_hda_codec_resume_amp(struct hda_codec *codec); #endif |