Commit 3e6c6139 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Jaroslav Kysela

[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: default avatarClemens Ladisch <clemens@ladisch.de>
parent 6207e51b
...@@ -375,7 +375,7 @@ AC97_DOUBLE("Front Playback Volume", AC97_WM97XX_FMIXER_VOL, 8, 0, 31, 1), ...@@ -375,7 +375,7 @@ AC97_DOUBLE("Front Playback Volume", AC97_WM97XX_FMIXER_VOL, 8, 0, 31, 1),
AC97_SINGLE("Front Playback Switch", AC97_WM97XX_FMIXER_VOL, 15, 1, 1), AC97_SINGLE("Front Playback Switch", AC97_WM97XX_FMIXER_VOL, 15, 1, 1),
}; };
int patch_wolfson_wm9703_specific(ac97_t * ac97) static int patch_wolfson_wm9703_specific(ac97_t * ac97)
{ {
/* This is known to work for the ViewSonic ViewPad 1000 /* This is known to work for the ViewSonic ViewPad 1000
* Randolph Bentson <bentson@holmsjoen.com> * Randolph Bentson <bentson@holmsjoen.com>
...@@ -410,7 +410,7 @@ AC97_DOUBLE("Rear DAC Volume", AC97_WM9704_RPCM_VOL, 8, 0, 31, 1), ...@@ -410,7 +410,7 @@ AC97_DOUBLE("Rear DAC Volume", AC97_WM9704_RPCM_VOL, 8, 0, 31, 1),
AC97_DOUBLE("Surround Volume", AC97_SURROUND_MASTER, 8, 0, 31, 1), AC97_DOUBLE("Surround Volume", AC97_SURROUND_MASTER, 8, 0, 31, 1),
}; };
int patch_wolfson_wm9704_specific(ac97_t * ac97) static int patch_wolfson_wm9704_specific(ac97_t * ac97)
{ {
int err, i; int err, i;
for (i = 0; i < ARRAY_SIZE(wm9704_snd_ac97_controls); i++) { for (i = 0; i < ARRAY_SIZE(wm9704_snd_ac97_controls); i++) {
...@@ -433,7 +433,7 @@ int patch_wolfson04(ac97_t * ac97) ...@@ -433,7 +433,7 @@ int patch_wolfson04(ac97_t * ac97)
return 0; return 0;
} }
int patch_wolfson_wm9705_specific(ac97_t * ac97) static int patch_wolfson_wm9705_specific(ac97_t * ac97)
{ {
int err, i; int err, i;
for (i = 0; i < ARRAY_SIZE(wm97xx_snd_ac97_controls); i++) { 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), ...@@ -558,7 +558,7 @@ AC97_SINGLE("Headphone ZC Switch", AC97_HEADPHONE, 7, 1, 0),
AC97_SINGLE("Mono ZC Switch", AC97_MASTER_MONO, 7, 1, 0), AC97_SINGLE("Mono ZC Switch", AC97_MASTER_MONO, 7, 1, 0),
}; };
int patch_wolfson_wm9711_specific(ac97_t * ac97) static int patch_wolfson_wm9711_specific(ac97_t * ac97)
{ {
int err, i; int err, i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment