Skip to contentSkip to conversation

make snd_ac97_add_vmaster() static

PATCH New Adrian Bunk 1 participant 1 message Jul 22, 2008 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make snd_ac97_add_vmaster() static

This patch makes the needlessly global snd_ac97_add_vmaster() static.

---
8ca0ca6ab50a53faf6c7af44b67408e32d11f69a

sound/pci/ac97/ac97_patch.c +2 -2
index 0746e9c..f4fbc79 100644
@@ -3381,8 +3381,8 @@ static struct snd_kcontrol *snd_ac97_find_mixer_ctl(struct snd_ac97 *ac97,
 }
 
 /* create a virtual master control and add slaves */
-int snd_ac97_add_vmaster(struct snd_ac97 *ac97, char *name,
-			 const unsigned int *tlv, const char **slaves)
+static int snd_ac97_add_vmaster(struct snd_ac97 *ac97, char *name,
+				const unsigned int *tlv, const char **slaves)
 {
 	struct snd_kcontrol *kctl;
 	const char **s;