瀏覽代碼

V4L/DVB (3377): make some code static

- 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>
Adrian Bunk 19 年之前
父節點
當前提交
a9cff90ed9
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/media/video/cx25840/cx25840-core.c
  2. 1 1
      drivers/media/video/tvp5150.c

+ 1 - 1
drivers/media/video/cx25840/cx25840-core.c

@@ -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);
 

+ 1 - 1
drivers/media/video/tvp5150.c

@@ -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 }