diff options
author | Mike Isely <isely@pobox.com> | 2008-08-31 18:55:03 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2008-08-31 18:55:03 -0500 |
commit | 596acdb938b1e1c2f61c0bddc1359ce91d3f4db2 (patch) | |
tree | d3599525ef49260a01783ab896a4b694998795f5 /linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |
parent | a397e1f70d7ece4029a16e5bda4f556467252a8c (diff) | |
download | mediapointer-dvb-s2-596acdb938b1e1c2f61c0bddc1359ce91d3f4db2.tar.gz mediapointer-dvb-s2-596acdb938b1e1c2f61c0bddc1359ce91d3f4db2.tar.bz2 |
pvrusb2: Be able to programmatically retrieve a control's default value
From: Mike Isely <isely@pobox.com>
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 <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |