V4L/DVB (3377): make some code static
authorAdrian Bunk <bunk@stusta.de>
Sun, 15 Jan 2006 08:56:15 +0000 (06:56 -0200)
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>
Sun, 15 Jan 2006 11:03:21 +0000 (09:03 -0200)
- This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx25840/cx25840-core.c
drivers/media/video/tvp5150.c

index 0da744c1d23e25eca1ce3cc43890b20f20f549dc..c66c2c1f480927b18c047c9fbcc4054868f6ba41 100644 (file)
@@ -43,7 +43,7 @@ MODULE_LICENSE("GPL");
 static unsigned short normal_i2c[] = { 0x88 >> 1, I2C_CLIENT_END };
 
 
-int cx25840_debug;
+static int cx25840_debug;
 
 module_param_named(debug,cx25840_debug, int, 0644);
 
index e86b522938fdad9a09cc7fe78194e1b84e499683..8713c4d0dccae3ad23ad7e448f9eaf176cb6a90f 100644 (file)
@@ -634,7 +634,7 @@ struct i2c_vbi_ram_value {
        unsigned char values[26];
 };
 
-struct i2c_vbi_ram_value vbi_ram_default[] =
+static struct i2c_vbi_ram_value vbi_ram_default[] =
 {
        {0x010, /* WST SECAM 6 */
                { 0xaa, 0xaa, 0xff, 0xff , 0xe7, 0x2e, 0x20, 0x26, 0xe6, 0xb4, 0x0e, 0x0, 0x0, 0x0, 0x10, 0x0 }