Skip to contentSkip to conversation

bttv: fix MODULE_PARM_DESC for i2c_debug and i2c_hw

PATCH New Jarod Wilson 1 participant 1 message Dec 1, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bttv: fix MODULE_PARM_DESC for i2c_debug and i2c_hw

Currently, i2c_debug shows up w/o a desc in modinfo, and i2c_hw shows up with i2c_debug's desc. Fix that.

linux/drivers/media/video/bt8xx/bttv-i2c.c +1 -1
diff -r e0cd9a337600 linux/drivers/media/video/bt8xx/bttv-i2c.c
@@ -40,7 +40,7 @@
 static int i2c_hw;
 static int i2c_scan;
 module_param(i2c_debug, int, 0644);
-MODULE_PARM_DESC(i2c_hw,"configure i2c debug level");
+MODULE_PARM_DESC(i2c_debug,"configure i2c debug level");
 module_param(i2c_hw,    int, 0444);
 MODULE_PARM_DESC(i2c_hw,"force use of hardware i2c support, "
 			"instead of software bitbang");