summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx25840
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2006-01-12 13:09:55 +0000
committerMauro Carvalho Chehab <devnull@localhost>2006-01-12 13:09:55 +0000
commit897df2a4edc8a794befcd10d52db7c000994a46d (patch)
tree1ca41f55afffb21aa0b3ba3d8844205e92ccd6b6 /linux/drivers/media/video/cx25840
parent53e0372380feff0b202c4178d178cf7ba96c475d (diff)
downloadmediapointer-dvb-s2-897df2a4edc8a794befcd10d52db7c000994a46d.tar.gz
mediapointer-dvb-s2-897df2a4edc8a794befcd10d52db7c000994a46d.tar.bz2
removed uneeded init on structs like static int foo=0
From: Mauro Carvalho Chehab <mchehab@infradead.org> - static vars are equal to zero by default. Removed unnecessary =0 from them, saving some data space; - Fixed compiling against kernels bellow 2.6.13. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx25840')
-rw-r--r--linux/drivers/media/video/cx25840/cx25840-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx25840/cx25840-core.c b/linux/drivers/media/video/cx25840/cx25840-core.c
index 506479c3c..e27027675 100644
--- a/linux/drivers/media/video/cx25840/cx25840-core.c
+++ b/linux/drivers/media/video/cx25840/cx25840-core.c
@@ -50,7 +50,7 @@ static unsigned short normal_i2c[] = { 0x88 >> 1, I2C_CLIENT_END };
static unsigned short normal_i2c_range[] = { I2C_CLIENT_END };
#endif
-int cx25840_debug = 0;
+int cx25840_debug;
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)
module_param_named(debug,cx25840_debug, int, 0644);