aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-12-27 21:11:22 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:34:23 -0500
commitfd5a75fe00ec13311289928c2cb17d8676f8db45 (patch)
tree478dcf0445fc17e64df4036e391106522b54bdea /drivers/media/video/pvrusb2/pvrusb2-hdw.h
parentae2b9e25fdfb63efed3659b19c5cc8778fd981ba (diff)
V4L/DVB (5040): Pvrusb2: Use enumeration for minor number get / store code
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.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/drivers/media/video/pvrusb2/pvrusb2-hdw.h
index b1d80bd2678c..fa3769a244a1 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.h
@@ -206,10 +206,11 @@ int pvr2_hdw_cpufw_get(struct pvr2_hdw *,unsigned int offs,
206 char *buf,unsigned int cnt); 206 char *buf,unsigned int cnt);
207 207
208/* Retrieve a previously stored v4l minor device number */ 208/* Retrieve a previously stored v4l minor device number */
209int pvr2_hdw_v4l_get_minor_number(struct pvr2_hdw *,int); 209int pvr2_hdw_v4l_get_minor_number(struct pvr2_hdw *,enum pvr2_config index);
210 210
211/* Store a v4l minor device number */ 211/* Store a v4l minor device number */
212void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *,int,int); 212void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *,
213 enum pvr2_config index,int);
213 214
214/* Direct read/write access to chip's registers: 215/* Direct read/write access to chip's registers:
215 chip_id - unique id of chip (e.g. I2C_DRIVERD_xxxx) 216 chip_id - unique id of chip (e.g. I2C_DRIVERD_xxxx)