diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-29 05:48:40 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:11 -0500 |
commit | 54720a2481e67e622d5ee40a5130fd45f5c57c14 (patch) | |
tree | 805d7de9becb9dd72fe99589d36908444e2d13c1 /sound/pci/ac97 | |
parent | 304cd07f92027af7e92d742d9554c3be9fa4d4cf (diff) |
[ALSA] ac97_patch: compilation warning fix
This patch kills these two compilation warnings if
power management is disabled:
sound/pci/ac97/ac97_patch.h:86: warning: 'snd_ac97_restore_status'
declared 'static' but never defined
sound/pci/ac97/ac97_patch.h:87: warning: 'snd_ac97_restore_iec958'
declared 'static' but never defined
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/ac97')
-rw-r--r-- | sound/pci/ac97/ac97_patch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ac97/ac97_patch.h b/sound/pci/ac97/ac97_patch.h index 9cccc27ea1b5..47bf8dfe8276 100644 --- a/sound/pci/ac97/ac97_patch.h +++ b/sound/pci/ac97/ac97_patch.h | |||
@@ -83,8 +83,10 @@ static int snd_ac97_swap_ctl(struct snd_ac97 *ac97, const char *s1, | |||
83 | const char *s2, const char *suffix); | 83 | const char *s2, const char *suffix); |
84 | static void snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src, | 84 | static void snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src, |
85 | const char *dst); | 85 | const char *dst); |
86 | #ifdef CONFIG_PM | ||
86 | static void snd_ac97_restore_status(struct snd_ac97 *ac97); | 87 | static void snd_ac97_restore_status(struct snd_ac97 *ac97); |
87 | static void snd_ac97_restore_iec958(struct snd_ac97 *ac97); | 88 | static void snd_ac97_restore_iec958(struct snd_ac97 *ac97); |
89 | #endif | ||
88 | static int snd_ac97_info_enum_double(struct snd_kcontrol *kcontrol, | 90 | static int snd_ac97_info_enum_double(struct snd_kcontrol *kcontrol, |
89 | struct snd_ctl_elem_info *uinfo); | 91 | struct snd_ctl_elem_info *uinfo); |
90 | static int snd_ac97_get_enum_double(struct snd_kcontrol *kcontrol, | 92 | static int snd_ac97_get_enum_double(struct snd_kcontrol *kcontrol, |