public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] dvb/frontends/xc5000.c: make a struct static
@ 2008-01-28 22:10 Adrian Bunk
  2008-01-28 22:38 ` [v4l-dvb-maintainer] " Steven Toth
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-01-28 22:10 UTC (permalink / raw)
  To: Steven Toth, Mauro Carvalho Chehab; +Cc: v4l-dvb-maintainer, linux-kernel

struct XC5000_Standard[] can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
e1f9c8304c807ecce026156ee2185925295fe835 
diff --git a/drivers/media/dvb/frontends/xc5000.c b/drivers/media/dvb/frontends/xc5000.c
index f642ca2..a5094b7 100644
--- a/drivers/media/dvb/frontends/xc5000.c
+++ b/drivers/media/dvb/frontends/xc5000.c
@@ -151,7 +151,7 @@ typedef struct {
 #define FM_Radio_INPUT2 	21
 #define FM_Radio_INPUT1 	22
 
-XC_TV_STANDARD XC5000_Standard[MAX_TV_STANDARD] = {
+static XC_TV_STANDARD XC5000_Standard[MAX_TV_STANDARD] = {
 	{"M/N-NTSC/PAL-BTSC", 0x0400, 0x8020},
 	{"M/N-NTSC/PAL-A2",   0x0600, 0x8020},
 	{"M/N-NTSC/PAL-EIAJ", 0x0440, 0x8020},


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [v4l-dvb-maintainer] [2.6 patch] dvb/frontends/xc5000.c: make a struct static
  2008-01-28 22:10 [2.6 patch] dvb/frontends/xc5000.c: make a struct static Adrian Bunk
@ 2008-01-28 22:38 ` Steven Toth
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Toth @ 2008-01-28 22:38 UTC (permalink / raw)
  To: Adrian Bunk, Mauro Carvalho Chehab
  Cc: Steven Toth, v4l-dvb-maintainer, linux-kernel

Adrian Bunk wrote:
> struct XC5000_Standard[] can become static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Reviewed-by: Steven Toth <stoth@hauppauge.com>

Thanks Adrian.

Mauro, please merge.

- Steve

> 
> ---
> e1f9c8304c807ecce026156ee2185925295fe835 
> diff --git a/drivers/media/dvb/frontends/xc5000.c b/drivers/media/dvb/frontends/xc5000.c
> index f642ca2..a5094b7 100644
> --- a/drivers/media/dvb/frontends/xc5000.c
> +++ b/drivers/media/dvb/frontends/xc5000.c
> @@ -151,7 +151,7 @@ typedef struct {
>  #define FM_Radio_INPUT2 	21
>  #define FM_Radio_INPUT1 	22
>  
> -XC_TV_STANDARD XC5000_Standard[MAX_TV_STANDARD] = {
> +static XC_TV_STANDARD XC5000_Standard[MAX_TV_STANDARD] = {
>  	{"M/N-NTSC/PAL-BTSC", 0x0400, 0x8020},
>  	{"M/N-NTSC/PAL-A2",   0x0600, 0x8020},
>  	{"M/N-NTSC/PAL-EIAJ", 0x0440, 0x8020},
> 
> 
> _______________________________________________
> v4l-dvb-maintainer mailing list
> v4l-dvb-maintainer@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/v4l-dvb-maintainer


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-28 23:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 22:10 [2.6 patch] dvb/frontends/xc5000.c: make a struct static Adrian Bunk
2008-01-28 22:38 ` [v4l-dvb-maintainer] " Steven Toth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox