diff options
author | Ruslan Pisarev <ruslan@gmail.com> | 2010-10-20 06:34:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 13:55:07 -0200 |
commit | d7fe4a602df6b31475303a9f9d4d4c9fc6ae34f5 (patch) | |
tree | ac58e77462d73501dd64cb91265102f02ed8c142 /drivers | |
parent | 024fafbac36b176d978ccd0fb1cae1fbc38c7fee (diff) | |
download | linux-stable-d7fe4a602df6b31475303a9f9d4d4c9fc6ae34f5.tar.gz linux-stable-d7fe4a602df6b31475303a9f9d4d4c9fc6ae34f5.tar.bz2 linux-stable-d7fe4a602df6b31475303a9f9d4d4c9fc6ae34f5.zip |
[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')
-rw-r--r-- | drivers/staging/tm6000/tm6000-i2c.c | 2 |
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]"); |