From: Ruslan Pisarev Date: Wed, 20 Oct 2010 09:34:40 +0000 (-0300) Subject: [media] tm6000: don't initialize static var on tm6000-i2c.c X-Git-Tag: firefly_0821_release~7613^2~3587^2~75 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d7fe4a602df6b31475303a9f9d4d4c9fc6ae34f5;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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]");