aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/hdpvr/hdpvr.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/hdpvr/hdpvr.h')
-rw-r--r--drivers/media/video/hdpvr/hdpvr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/hdpvr/hdpvr.h b/drivers/media/video/hdpvr/hdpvr.h
index 5efc963f9164..37f1e4c7675d 100644
--- a/drivers/media/video/hdpvr/hdpvr.h
+++ b/drivers/media/video/hdpvr/hdpvr.h
@@ -16,6 +16,7 @@
16#include <linux/videodev2.h> 16#include <linux/videodev2.h>
17 17
18#include <media/v4l2-device.h> 18#include <media/v4l2-device.h>
19#include <media/ir-kbd-i2c.h>
19 20
20#define HDPVR_MAJOR_VERSION 0 21#define HDPVR_MAJOR_VERSION 0
21#define HDPVR_MINOR_VERSION 2 22#define HDPVR_MINOR_VERSION 2
@@ -109,6 +110,9 @@ struct hdpvr_device {
109 /* I2C lock */ 110 /* I2C lock */
110 struct mutex i2c_mutex; 111 struct mutex i2c_mutex;
111 112
113 /* For passing data to ir-kbd-i2c */
114 struct IR_i2c_init_data ir_i2c_init_data;
115
112 /* usb control transfer buffer and lock */ 116 /* usb control transfer buffer and lock */
113 struct mutex usbc_mutex; 117 struct mutex usbc_mutex;
114 u8 *usbc_buf; 118 u8 *usbc_buf;
@@ -306,6 +310,8 @@ int hdpvr_cancel_queue(struct hdpvr_device *dev);
306/* i2c adapter registration */ 310/* i2c adapter registration */
307int hdpvr_register_i2c_adapter(struct hdpvr_device *dev); 311int hdpvr_register_i2c_adapter(struct hdpvr_device *dev);
308 312
313int hdpvr_register_i2c_ir(struct hdpvr_device *dev);
314
309/*========================================================================*/ 315/*========================================================================*/
310/* buffer management */ 316/* buffer management */
311int hdpvr_free_buffers(struct hdpvr_device *dev); 317int hdpvr_free_buffers(struct hdpvr_device *dev);