From 596acdb938b1e1c2f61c0bddc1359ce91d3f4db2 Mon Sep 17 00:00:00 2001 From: Mike Isely Date: Sun, 31 Aug 2008 18:55:03 -0500 Subject: pvrusb2: Be able to programmatically retrieve a control's default value From: Mike Isely The pvrusb2 control mechanism up until now has used a constant int to hold a control's default value. This change makes it possible to retrieve the control's default through some other means, e.g. as a result of a query from lower level software. Priority: normal Signed-off-by: Mike Isely --- linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h') diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h index 0453244b7..8bc966973 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h @@ -82,6 +82,7 @@ struct pvr2_ctl_info { /* Control's implementation */ pvr2_ctlf_get_value get_value; /* Get its value */ + pvr2_ctlf_get_value get_def_value; /* Get its default value */ pvr2_ctlf_get_value get_min_value; /* Get minimum allowed value */ pvr2_ctlf_get_value get_max_value; /* Get maximum allowed value */ pvr2_ctlf_set_value set_value; /* Set its value */ -- cgit v1.2.3