summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-07-11 12:09:20 +0200
committerJaroslav Kysela <perex@suse.cz>2006-07-12 20:08:12 +0200
commitd35367e1cbe4cb69f6ced0bf347c0c478752d95d (patch)
tree990ae3e3b10e168ac4c5746f2b6a376825414813 /sound
parent2ece5f42a284fecfb77b1c63f2263065e12a518f (diff)
downloadlinux-stable-d35367e1cbe4cb69f6ced0bf347c0c478752d95d.tar.gz
linux-stable-d35367e1cbe4cb69f6ced0bf347c0c478752d95d.tar.bz2
linux-stable-d35367e1cbe4cb69f6ced0bf347c0c478752d95d.zip
[ALSA] make sound/isa/gus/gusextreme.c:devices static
'devices' is not a good name for a global variable. Thankfully, it can become static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/isa/gus/gusextreme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/gus/gusextreme.c b/sound/isa/gus/gusextreme.c
index 22cdddbfd824..532c56e35ca4 100644
--- a/sound/isa/gus/gusextreme.c
+++ b/sound/isa/gus/gusextreme.c
@@ -87,7 +87,7 @@ MODULE_PARM_DESC(channels, "GF1 channels for GUS Extreme driver.");
module_param_array(pcm_channels, int, NULL, 0444);
MODULE_PARM_DESC(pcm_channels, "Reserved PCM channels for GUS Extreme driver.");
-struct platform_device *devices[SNDRV_CARDS];
+static struct platform_device *devices[SNDRV_CARDS];
#define PFX "gusextreme: "