diff mbox

[2/6] Staging: tm6000: fix "ERROR: do not initialise statics to 0 or NULL" in tm6000-i2c.c

Message ID 1287567280-18700-1-git-send-email-ruslan@rpisarev.org.ua (mailing list archive)
State Accepted
Headers show

Commit Message

ruslanpisarev@gmail.com Oct. 20, 2010, 9:34 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/staging/tm6000/tm6000-i2c.c b/drivers/staging/tm6000/tm6000-i2c.c
index 79bc67f..a08d6a3 100644
--- a/drivers/staging/tm6000/tm6000-i2c.c
+++ b/drivers/staging/tm6000/tm6000-i2c.c
@@ -36,7 +36,7 @@ 
 #define I2C_HW_B_TM6000 I2C_HW_B_EM28XX
 /* ----------------------------------------------------------- */
 
-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]");