diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-02-03 21:46:16 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:09:46 -0400 |
commit | 04910bdc5c172af9bc937a8869e7f2907db4443f (patch) | |
tree | b8b5f224510cca9938f2f766905622632f0f4861 /drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |
parent | e7f677f33664200b3d75ffc625d218b84ac43875 (diff) |
V4L/DVB (7679): pvrusb2: add DVB API framework
Add basic framework for the DVB API. This is enough to control the
tuner & demod of the digital frontend, but the stream & buffer handling
is still missing.
Additional note from Mike Isely <isely@pobox.com> - also, since these
changes are still very experimental arrange for DVB changes to be
compiled in via new CONFIG_VIDEO_PVRUSB2_DVB option, for now.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h index c725495826ce..6fe0a882209f 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |||
@@ -41,6 +41,7 @@ | |||
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 | #include "pvrusb2-devattr.h" |
44 | #include "pvrusb2-dvb.h" | ||
44 | 45 | ||
45 | /* Legal values for PVR2_CID_HSM */ | 46 | /* Legal values for PVR2_CID_HSM */ |
46 | #define PVR2_CVAL_HSM_FAIL 0 | 47 | #define PVR2_CVAL_HSM_FAIL 0 |
@@ -373,6 +374,8 @@ struct pvr2_hdw { | |||
373 | 374 | ||
374 | struct pvr2_ctrl *controls; | 375 | struct pvr2_ctrl *controls; |
375 | unsigned int control_cnt; | 376 | unsigned int control_cnt; |
377 | |||
378 | struct pvr2_dvb_adapter dvb; | ||
376 | }; | 379 | }; |
377 | 380 | ||
378 | /* This function gets the current frequency */ | 381 | /* This function gets the current frequency */ |