lkml.org 
[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Alsa-devel] [2.6 patch] make sound/isa/gus/gusextreme.c:devices static
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@stusta.de>

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@lists.sourceforge.net
> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-11 12:19    [W:0.037 / U:1.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site