Re: [Alsa-devel] [2.6 patch] make sound/isa/gus/gusextreme.c:devices static

From: Takashi Iwai
Date: Tue Jul 11 2006 - 06:15:30 EST


At Tue, 11 Jul 2006 00:02:36 +0200,
Adrian Bunk wrote:
>
> "devices" is not a good name for a global variable.
>
> Thankfully, it can become static.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

Applied to ALSA tree now. Thanks.


Takashi


>
> --- 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
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/