[2.6 patch] make sound/isa/gus/gusextreme.c:devices static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"devices" is not a good name for a global variable.

Thankfully, it can become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.18-rc1-mm1-full/sound/isa/gus/gusextreme.c.old	2006-07-10 01:15:13.000000000 +0200
+++ linux-2.6.18-rc1-mm1-full/sound/isa/gus/gusextreme.c	2006-07-10 01:15:20.000000000 +0200
@@ -87,7 +87,7 @@
 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: "



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux