diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-04-13 15:38:14 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-17 01:04:12 +0400 |
commit | f8d7ee70919d44ef4f01f3c9bc49af54fdc433bc (patch) | |
tree | 391df2bfea624e994e8feb00cd9423c697d05927 /drivers/media/pci/cx25821/cx25821.h | |
parent | 467870ca26c01cb0ac84e969a78160f8164919cc (diff) | |
download | linux-f8d7ee70919d44ef4f01f3c9bc49af54fdc433bc.tar.xz |
[media] cx25821: convert to the control framework
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/cx25821/cx25821.h')
-rw-r--r-- | drivers/media/pci/cx25821/cx25821.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/media/pci/cx25821/cx25821.h b/drivers/media/pci/cx25821/cx25821.h index df2ea22563e5..c63f7f571614 100644 --- a/drivers/media/pci/cx25821/cx25821.h +++ b/drivers/media/pci/cx25821/cx25821.h @@ -33,6 +33,7 @@ #include <media/v4l2-common.h> #include <media/v4l2-device.h> +#include <media/v4l2-ctrls.h> #include <media/videobuf-dma-sg.h> #include "btcx-risc.h" @@ -208,13 +209,14 @@ struct cx25821_data { const struct sram_channel *channel; }; +struct cx25821_dev; + struct cx25821_channel { + unsigned id; + struct cx25821_dev *dev; struct v4l2_prio_state prio; - int ctl_bright; - int ctl_contrast; - int ctl_hue; - int ctl_saturation; + struct v4l2_ctrl_handler hdl; struct cx25821_data timeout_data; struct video_device vdev; |