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-ctrl.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-ctrl.h')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-ctrl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-ctrl.h b/linux/drivers/media/video/pvrusb2/pvrusb2-ctrl.h index 0371ae6e6..794ff9012 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-ctrl.h +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-ctrl.h @@ -49,7 +49,7 @@ int pvr2_ctrl_get_max(struct pvr2_ctrl *); int pvr2_ctrl_get_min(struct pvr2_ctrl *); /* Retrieve control's default value (any type) */ -int pvr2_ctrl_get_def(struct pvr2_ctrl *); +int pvr2_ctrl_get_def(struct pvr2_ctrl *, int *valptr); /* Retrieve control's enumeration count (enum only) */ int pvr2_ctrl_get_cnt(struct pvr2_ctrl *); |