diff options
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.h')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/drivers/media/video/pvrusb2/pvrusb2-hdw.h index fa3769a244a1..19af4d636c3f 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.h +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.h | |||
@@ -78,6 +78,12 @@ enum pvr2_config { | |||
78 | pvr2_config_radio, | 78 | pvr2_config_radio, |
79 | }; | 79 | }; |
80 | 80 | ||
81 | enum pvr2_v4l_type { | ||
82 | pvr2_v4l_type_video, | ||
83 | pvr2_v4l_type_vbi, | ||
84 | pvr2_v4l_type_radio, | ||
85 | }; | ||
86 | |||
81 | const char *pvr2_config_get_name(enum pvr2_config); | 87 | const char *pvr2_config_get_name(enum pvr2_config); |
82 | 88 | ||
83 | struct pvr2_hdw; | 89 | struct pvr2_hdw; |
@@ -206,11 +212,11 @@ int pvr2_hdw_cpufw_get(struct pvr2_hdw *,unsigned int offs, | |||
206 | char *buf,unsigned int cnt); | 212 | char *buf,unsigned int cnt); |
207 | 213 | ||
208 | /* Retrieve a previously stored v4l minor device number */ | 214 | /* Retrieve a previously stored v4l minor device number */ |
209 | int pvr2_hdw_v4l_get_minor_number(struct pvr2_hdw *,enum pvr2_config index); | 215 | int pvr2_hdw_v4l_get_minor_number(struct pvr2_hdw *,enum pvr2_v4l_type index); |
210 | 216 | ||
211 | /* Store a v4l minor device number */ | 217 | /* Store a v4l minor device number */ |
212 | void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *, | 218 | void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *, |
213 | enum pvr2_config index,int); | 219 | enum pvr2_v4l_type index,int); |
214 | 220 | ||
215 | /* Direct read/write access to chip's registers: | 221 | /* Direct read/write access to chip's registers: |
216 | chip_id - unique id of chip (e.g. I2C_DRIVERD_xxxx) | 222 | chip_id - unique id of chip (e.g. I2C_DRIVERD_xxxx) |