]> err.no Git - linux-2.6/commitdiff
[ALSA] make sound/isa/gus/gusextreme.c:devices static
authorAdrian Bunk <bunk@stusta.de>
Tue, 11 Jul 2006 10:09:20 +0000 (12:09 +0200)
committerJaroslav Kysela <perex@suse.cz>
Wed, 12 Jul 2006 18:08:12 +0000 (20:08 +0200)
'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>
sound/isa/gus/gusextreme.c

index 22cdddbfd8247088ad8d63b4bcb5f52cb29c3404..532c56e35ca496fd7a28c3252ce2823b840452e5 100644 (file)
@@ -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: "