diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-13 22:16:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 13:10:23 -0500 |
commit | e93854da880d6dc357c00625d8371b6a926fd19b (patch) | |
tree | 8bf87df8cf639fe7af7e35fb5cbc42792742a31b /drivers/media/video/em28xx/em28xx-input.c | |
parent | 4714eda87748f226833c32400ab60dd6a3b80766 (diff) |
V4L/DVB (13634): ir-core: allow passing IR device parameters to ir-core
Adds an structure to ir_input_register to contain IR device characteristics,
like supported protocols and a callback to handle protocol event changes.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-input.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-input.c b/drivers/media/video/em28xx/em28xx-input.c index af0d935c29be..fbfbab6841cd 100644 --- a/drivers/media/video/em28xx/em28xx-input.c +++ b/drivers/media/video/em28xx/em28xx-input.c | |||
@@ -412,7 +412,7 @@ int em28xx_ir_init(struct em28xx *dev) | |||
412 | em28xx_ir_start(ir); | 412 | em28xx_ir_start(ir); |
413 | 413 | ||
414 | /* all done */ | 414 | /* all done */ |
415 | err = ir_input_register(ir->input, dev->board.ir_codes); | 415 | err = ir_input_register(ir->input, dev->board.ir_codes, NULL); |
416 | if (err) | 416 | if (err) |
417 | goto err_out_stop; | 417 | goto err_out_stop; |
418 | 418 | ||