aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
index 8ee4549b7a9f..8c2d222960f1 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
@@ -40,6 +40,7 @@
40#include "pvrusb2-hdw.h" 40#include "pvrusb2-hdw.h"
41#include "pvrusb2-io.h" 41#include "pvrusb2-io.h"
42#include <media/cx2341x.h> 42#include <media/cx2341x.h>
43#include "pvrusb2-devattr.h"
43 44
44/* Legal values for PVR2_CID_HSM */ 45/* Legal values for PVR2_CID_HSM */
45#define PVR2_CVAL_HSM_FAIL 0 46#define PVR2_CVAL_HSM_FAIL 0
@@ -162,10 +163,6 @@ struct pvr2_decoder_ctrl {
162#define FW1_STATE_RELOAD 3 163#define FW1_STATE_RELOAD 3
163#define FW1_STATE_OK 4 164#define FW1_STATE_OK 4
164 165
165/* Known major hardware variants, keyed from device ID */
166#define PVR2_HDW_TYPE_29XXX 0
167#define PVR2_HDW_TYPE_24XXX 1
168
169typedef int (*pvr2_i2c_func)(struct pvr2_hdw *,u8,u8 *,u16,u8 *, u16); 166typedef int (*pvr2_i2c_func)(struct pvr2_hdw *,u8,u8 *,u16,u8 *, u16);
170#define PVR2_I2C_FUNC_CNT 128 167#define PVR2_I2C_FUNC_CNT 128
171 168
@@ -179,6 +176,7 @@ struct pvr2_hdw {
179 176
180 /* Device type, one of PVR2_HDW_TYPE_xxxxx */ 177 /* Device type, one of PVR2_HDW_TYPE_xxxxx */
181 unsigned int hdw_type; 178 unsigned int hdw_type;
179 const struct pvr2_device_desc *hdw_desc;
182 180
183 /* Kernel worker thread handling */ 181 /* Kernel worker thread handling */
184 struct workqueue_struct *workqueue; 182 struct workqueue_struct *workqueue;