diff options
Diffstat (limited to 'drivers/media/video/cx231xx')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-input.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-input.c b/drivers/media/video/cx231xx/cx231xx-input.c index b473cd8367f5..a0e8bb88d67e 100644 --- a/drivers/media/video/cx231xx/cx231xx-input.c +++ b/drivers/media/video/cx231xx/cx231xx-input.c | |||
@@ -35,6 +35,8 @@ static unsigned int ir_debug; | |||
35 | module_param(ir_debug, int, 0644); | 35 | module_param(ir_debug, int, 0644); |
36 | MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]"); | 36 | MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]"); |
37 | 37 | ||
38 | #define MODULE_NAME "cx231xx" | ||
39 | |||
38 | #define i2cdprintk(fmt, arg...) \ | 40 | #define i2cdprintk(fmt, arg...) \ |
39 | if (ir_debug) { \ | 41 | if (ir_debug) { \ |
40 | printk(KERN_DEBUG "%s/ir: " fmt, ir->name , ## arg); \ | 42 | printk(KERN_DEBUG "%s/ir: " fmt, ir->name , ## arg); \ |
@@ -217,7 +219,8 @@ int cx231xx_ir_init(struct cx231xx *dev) | |||
217 | cx231xx_ir_start(ir); | 219 | cx231xx_ir_start(ir); |
218 | 220 | ||
219 | /* all done */ | 221 | /* all done */ |
220 | err = ir_input_register(ir->input, dev->board.ir_codes, NULL); | 222 | err = ir_input_register(ir->input, dev->board.ir_codes, |
223 | NULL, MODULE_NAME); | ||
221 | if (err) | 224 | if (err) |
222 | goto err_out_stop; | 225 | goto err_out_stop; |
223 | 226 | ||