projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
024fafb
)
[media] tm6000: don't initialize static var on tm6000-i2c.c
author
Ruslan Pisarev
<ruslan@gmail.com>
Wed, 20 Oct 2010 09:34:40 +0000
(06:34 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 21 Oct 2010 15:55:07 +0000
(13:55 -0200)
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>
drivers/staging/tm6000/tm6000-i2c.c
patch
|
blob
|
history
diff --git
a/drivers/staging/tm6000/tm6000-i2c.c
b/drivers/staging/tm6000/tm6000-i2c.c
index ba932593db20e702cd8606f44371ed801ac77d12..9b6edbd81bb1ba1224eef18f40db81fb02b671f4 100644
(file)
--- 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]");