diff options
author | Mike Isely <isely@pobox.com> | 2006-12-27 21:12:28 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:34:24 -0500 |
commit | 8079384eeb1c490d0ad679cef061205e1b5a1c8a (patch) | |
tree | c2c53947dd456bcf668c6b4d62f664b49b0590f1 /drivers/media/video/pvrusb2/pvrusb2-sysfs.c | |
parent | fd5a75fe00ec13311289928c2cb17d8676f8db45 (diff) |
V4L/DVB (5041): Pvrusb2: Use separate enumeration for get/store of minor number
Use separate enum for get/store of minor number; we want pvr2_config
to go away eventually and since it really means something different,
don't use it here
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-sysfs.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-sysfs.c b/drivers/media/video/pvrusb2/pvrusb2-sysfs.c index 0f8021e2dd06..a3af24320e73 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-sysfs.c +++ b/drivers/media/video/pvrusb2/pvrusb2-sysfs.c | |||
@@ -733,7 +733,7 @@ static ssize_t v4l_minor_number_show(struct class_device *class_dev,char *buf) | |||
733 | if (!sfp) return -EINVAL; | 733 | if (!sfp) return -EINVAL; |
734 | return scnprintf(buf,PAGE_SIZE,"%d\n", | 734 | return scnprintf(buf,PAGE_SIZE,"%d\n", |
735 | pvr2_hdw_v4l_get_minor_number(sfp->channel.hdw, | 735 | pvr2_hdw_v4l_get_minor_number(sfp->channel.hdw, |
736 | pvr2_config_mpeg)); | 736 | pvr2_v4l_type_video)); |
737 | } | 737 | } |
738 | 738 | ||
739 | 739 | ||
@@ -745,7 +745,7 @@ static ssize_t v4l_radio_minor_number_show(struct class_device *class_dev, | |||
745 | if (!sfp) return -EINVAL; | 745 | if (!sfp) return -EINVAL; |
746 | return scnprintf(buf,PAGE_SIZE,"%d\n", | 746 | return scnprintf(buf,PAGE_SIZE,"%d\n", |
747 | pvr2_hdw_v4l_get_minor_number(sfp->channel.hdw, | 747 | pvr2_hdw_v4l_get_minor_number(sfp->channel.hdw, |
748 | pvr2_config_radio)); | 748 | pvr2_v4l_type_radio)); |
749 | } | 749 | } |
750 | 750 | ||
751 | 751 | ||