]> err.no Git - linux-2.6/commitdiff
V4L/DVB (8494): make cx25840_debug static
authorAdrian Bunk <bunk@kernel.org>
Mon, 21 Jul 2008 19:33:48 +0000 (16:33 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 26 Jul 2008 16:18:20 +0000 (13:18 -0300)
cx25840_debug can now become static.

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

index e7bf4f4c1319a220f448f4b352aaace26e92c5c4..209d3bcb5dbb9a3de89978117aeaf336862ae111 100644 (file)
@@ -50,7 +50,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 72916ba975a8a24108773a2f9487703114c414d4..b87337e590b43334a3b4b345ede4199ea5ae1924 100644 (file)
@@ -24,8 +24,6 @@
 #include <linux/videodev2.h>
 #include <linux/i2c.h>
 
-extern int cx25840_debug;
-
 /* ENABLE_PVR150_WORKAROUND activates a workaround for a hardware bug that is
    present in Hauppauge PVR-150 (and possibly PVR-500) cards that have
    certain NTSC tuners (tveeprom tuner model numbers 85, 99 and 112). The