diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-08-29 16:32:00 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-09-04 04:26:37 -0400 |
commit | b03671a826ba9873724164c6c96e82d0f9f5988d (patch) | |
tree | c3c1fc7880edd9f8c475c276989e80c29ced3543 /sound/pci/ac97 | |
parent | f4446ea046cf719a6d79449bb9175d50a64d963b (diff) |
ALSA: ac97_patch make functions static
Only used in ac97_codec by including ac97_patch.c directly, effectively static
Found by sparse:
sound/pci/ac97/ac97_patch.c:3551:5: warning: symbol 'patch_vt1617a' was not declared. Should it be static?
sound/pci/ac97/ac97_patch.c:3767:5: warning: symbol 'patch_vt1618' was not declared. Should it be static?
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index d0cab1d38789..6ce3cbe98a6a 100644 --- a/sound/pci/ac97/ac97_patch.c +++ b/sound/pci/ac97/ac97_patch.c | |||
@@ -3548,7 +3548,7 @@ static const struct snd_kcontrol_new snd_ac97_controls_vt1617a[] = { | |||
3548 | }, | 3548 | }, |
3549 | }; | 3549 | }; |
3550 | 3550 | ||
3551 | int patch_vt1617a(struct snd_ac97 * ac97) | 3551 | static int patch_vt1617a(struct snd_ac97 * ac97) |
3552 | { | 3552 | { |
3553 | int err = 0; | 3553 | int err = 0; |
3554 | int val; | 3554 | int val; |
@@ -3764,7 +3764,7 @@ static const struct snd_kcontrol_new snd_ac97_controls_vt1618[] = { | |||
3764 | } | 3764 | } |
3765 | }; | 3765 | }; |
3766 | 3766 | ||
3767 | int patch_vt1618(struct snd_ac97 *ac97) | 3767 | static int patch_vt1618(struct snd_ac97 *ac97) |
3768 | { | 3768 | { |
3769 | return patch_build_controls(ac97, snd_ac97_controls_vt1618, | 3769 | return patch_build_controls(ac97, snd_ac97_controls_vt1618, |
3770 | ARRAY_SIZE(snd_ac97_controls_vt1618)); | 3770 | ARRAY_SIZE(snd_ac97_controls_vt1618)); |