aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97/ac97_codec.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-07-30 08:52:41 -0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 09:58:14 -0400
commit6ddc9d2e82cd488aa117de8dd0a91862cb3656c1 (patch)
tree2ccdcb078571485e241360184adabd224272ff8e /sound/pci/ac97/ac97_codec.c
parent29998d24ab5ec488cd127488246cc749b0ac52d6 (diff)
[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: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/ac97/ac97_codec.c')
-rw-r--r--sound/pci/ac97/ac97_codec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c
index bbed644bf9c5..7b02a967c1e6 100644
--- a/sound/pci/ac97/ac97_codec.c
+++ b/sound/pci/ac97/ac97_codec.c
@@ -2436,7 +2436,7 @@ EXPORT_SYMBOL(snd_ac97_suspend);
2436/* 2436/*
2437 * restore ac97 status 2437 * restore ac97 status
2438 */ 2438 */
2439void snd_ac97_restore_status(struct snd_ac97 *ac97) 2439static void snd_ac97_restore_status(struct snd_ac97 *ac97)
2440{ 2440{
2441 int i; 2441 int i;
2442 2442
@@ -2457,7 +2457,7 @@ void snd_ac97_restore_status(struct snd_ac97 *ac97)
2457/* 2457/*
2458 * restore IEC958 status 2458 * restore IEC958 status
2459 */ 2459 */
2460void snd_ac97_restore_iec958(struct snd_ac97 *ac97) 2460static void snd_ac97_restore_iec958(struct snd_ac97 *ac97)
2461{ 2461{
2462 if (ac97->ext_id & AC97_EI_SPDIF) { 2462 if (ac97->ext_id & AC97_EI_SPDIF) {
2463 if (ac97->regs[AC97_EXTENDED_STATUS] & AC97_EA_SPDIF) { 2463 if (ac97->regs[AC97_EXTENDED_STATUS] & AC97_EA_SPDIF) {