summaryrefslogtreecommitdiff
path: root/drivers/staging/tm6000/tm6000-i2c.c
diff options
context:
space:
mode:
authorRuslan Pisarev <ruslan@gmail.com>2010-10-20 06:34:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 13:55:07 -0200
commitd7fe4a602df6b31475303a9f9d4d4c9fc6ae34f5 (patch)
treeac58e77462d73501dd64cb91265102f02ed8c142 /drivers/staging/tm6000/tm6000-i2c.c
parent024fafbac36b176d978ccd0fb1cae1fbc38c7fee (diff)
[media] tm6000: don't initialize static var on tm6000-i2c.c
This is a patch to the tm6000-i2c.c file that fixed "ERROR: do not initialise statics to 0 or NULL" found by the checkpatch.pl tools. Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-i2c.c')
-rw-r--r--drivers/staging/tm6000/tm6000-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/tm6000/tm6000-i2c.c b/drivers/staging/tm6000/tm6000-i2c.c
index ba932593db20..9b6edbd81bb1 100644
--- a/drivers/staging/tm6000/tm6000-i2c.c
+++ b/drivers/staging/tm6000/tm6000-i2c.c
@@ -34,7 +34,7 @@
/* ----------------------------------------------------------- */
-static unsigned int i2c_debug = 0;
+static unsigned int i2c_debug;
module_param(i2c_debug, int, 0644);
MODULE_PARM_DESC(i2c_debug, "enable debug messages [i2c]");