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: v3.0~2969^2~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7fe4a602df6b31475303a9f9d4d4c9fc6ae34f5;p=platform%2Fkernel%2Flinux-amlogic.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 ba93259..9b6edbd 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]");