diff options
Diffstat (limited to 'drivers/media/video/cx23885/cx23885.h')
-rw-r--r-- | drivers/media/video/cx23885/cx23885.h | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h index 25167dd22ab8..a33f2b71467b 100644 --- a/drivers/media/video/cx23885/cx23885.h +++ b/drivers/media/video/cx23885/cx23885.h @@ -30,7 +30,7 @@ #include <media/tveeprom.h> #include <media/videobuf-dma-sg.h> #include <media/videobuf-dvb.h> -#include <media/ir-common.h> +#include <media/ir-core.h> #include "btcx-risc.h" #include "cx23885-reg.h" @@ -305,20 +305,13 @@ struct cx23885_tsport { void *port_priv; }; -struct cx23885_ir_input { - struct input_dev *dev; - struct ir_input_state ir; +struct cx23885_kernel_ir { + struct cx23885_dev *cx; char *name; char *phys; - int start; - int addr; - int rc5_key_timeout; - struct timer_list timer_keyup; - u32 last_rc5; - u32 last_bit; - u32 code; - int active; + struct input_dev *inp_dev; + struct ir_dev_props props; }; struct cx23885_dev { @@ -380,7 +373,7 @@ struct cx23885_dev { struct work_struct ir_tx_work; unsigned long ir_tx_notifications; - struct cx23885_ir_input *ir_input; + struct cx23885_kernel_ir *kernel_ir; atomic_t ir_input_stopping; /* V4l */ |