summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-07-11 14:09:20 +0400
committerJaroslav Kysela <perex@suse.cz>2006-07-12 22:08:12 +0400
commitd35367e1cbe4cb69f6ced0bf347c0c478752d95d (patch)
tree990ae3e3b10e168ac4c5746f2b6a376825414813 /sound
parent2ece5f42a284fecfb77b1c63f2263065e12a518f (diff)
downloadlinux-d35367e1cbe4cb69f6ced0bf347c0c478752d95d.tar.xz
[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: "