aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-08-15 03:13:32 -0400
committerJaroslav Kysela <perex@suse.cz>2005-08-30 02:46:00 -0400
commit3e6c6139f0cf9c196c3fd700055f2e22ca22e726 (patch)
tree17d71cb3ec61e93add167e29606aca7b30318bac /sound/pci/ac97
parent6207e51b79f89352a8623f806df5bfafb012e489 (diff)
[ALSA] ac97: make patch_wolfson_wm97??_specific() functions static
AC97 Codec Make the patch_wolfson_wm97??_specific() functions static again. This patch was accidentally reverted in rev. 1.92. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/pci/ac97')
-rw-r--r--sound/pci/ac97/ac97_patch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index a0d515536177..616504ef3702 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -375,7 +375,7 @@ AC97_DOUBLE("Front Playback Volume", AC97_WM97XX_FMIXER_VOL, 8, 0, 31, 1),
375AC97_SINGLE("Front Playback Switch", AC97_WM97XX_FMIXER_VOL, 15, 1, 1), 375AC97_SINGLE("Front Playback Switch", AC97_WM97XX_FMIXER_VOL, 15, 1, 1),
376}; 376};
377 377
378int patch_wolfson_wm9703_specific(ac97_t * ac97) 378static int patch_wolfson_wm9703_specific(ac97_t * ac97)
379{ 379{
380 /* This is known to work for the ViewSonic ViewPad 1000 380 /* This is known to work for the ViewSonic ViewPad 1000
381 * Randolph Bentson <bentson@holmsjoen.com> 381 * Randolph Bentson <bentson@holmsjoen.com>
@@ -410,7 +410,7 @@ AC97_DOUBLE("Rear DAC Volume", AC97_WM9704_RPCM_VOL, 8, 0, 31, 1),
410AC97_DOUBLE("Surround Volume", AC97_SURROUND_MASTER, 8, 0, 31, 1), 410AC97_DOUBLE("Surround Volume", AC97_SURROUND_MASTER, 8, 0, 31, 1),
411}; 411};
412 412
413int patch_wolfson_wm9704_specific(ac97_t * ac97) 413static int patch_wolfson_wm9704_specific(ac97_t * ac97)
414{ 414{
415 int err, i; 415 int err, i;
416 for (i = 0; i < ARRAY_SIZE(wm9704_snd_ac97_controls); i++) { 416 for (i = 0; i < ARRAY_SIZE(wm9704_snd_ac97_controls); i++) {
@@ -433,7 +433,7 @@ int patch_wolfson04(ac97_t * ac97)
433 return 0; 433 return 0;
434} 434}
435 435
436int patch_wolfson_wm9705_specific(ac97_t * ac97) 436static int patch_wolfson_wm9705_specific(ac97_t * ac97)
437{ 437{
438 int err, i; 438 int err, i;
439 for (i = 0; i < ARRAY_SIZE(wm97xx_snd_ac97_controls); i++) { 439 for (i = 0; i < ARRAY_SIZE(wm97xx_snd_ac97_controls); i++) {
@@ -558,7 +558,7 @@ AC97_SINGLE("Headphone ZC Switch", AC97_HEADPHONE, 7, 1, 0),
558AC97_SINGLE("Mono ZC Switch", AC97_MASTER_MONO, 7, 1, 0), 558AC97_SINGLE("Mono ZC Switch", AC97_MASTER_MONO, 7, 1, 0),
559}; 559};
560 560
561int patch_wolfson_wm9711_specific(ac97_t * ac97) 561static int patch_wolfson_wm9711_specific(ac97_t * ac97)
562{ 562{
563 int err, i; 563 int err, i;
564 564