提交 6ddc9d2e 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] Add missing static in ac97_codec.c

Added missing static to snd_ac97_restore_status() and
snd_ac97_restore_iec958() functions.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 29998d24
...@@ -2436,7 +2436,7 @@ EXPORT_SYMBOL(snd_ac97_suspend); ...@@ -2436,7 +2436,7 @@ EXPORT_SYMBOL(snd_ac97_suspend);
/* /*
* restore ac97 status * restore ac97 status
*/ */
void snd_ac97_restore_status(struct snd_ac97 *ac97) static void snd_ac97_restore_status(struct snd_ac97 *ac97)
{ {
int i; int i;
...@@ -2457,7 +2457,7 @@ void snd_ac97_restore_status(struct snd_ac97 *ac97) ...@@ -2457,7 +2457,7 @@ void snd_ac97_restore_status(struct snd_ac97 *ac97)
/* /*
* restore IEC958 status * restore IEC958 status
*/ */
void snd_ac97_restore_iec958(struct snd_ac97 *ac97) static void snd_ac97_restore_iec958(struct snd_ac97 *ac97)
{ {
if (ac97->ext_id & AC97_EI_SPDIF) { if (ac97->ext_id & AC97_EI_SPDIF) {
if (ac97->regs[AC97_EXTENDED_STATUS] & AC97_EA_SPDIF) { if (ac97->regs[AC97_EXTENDED_STATUS] & AC97_EA_SPDIF) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册