summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx25821/cx25821.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-04-13 08:38:14 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-16 18:04:12 -0300
commitf8d7ee70919d44ef4f01f3c9bc49af54fdc433bc (patch)
tree391df2bfea624e994e8feb00cd9423c697d05927 /drivers/media/pci/cx25821/cx25821.h
parent467870ca26c01cb0ac84e969a78160f8164919cc (diff)
downloadop-kernel-dev-f8d7ee70919d44ef4f01f3c9bc49af54fdc433bc.zip
op-kernel-dev-f8d7ee70919d44ef4f01f3c9bc49af54fdc433bc.tar.gz
[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.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/media/pci/cx25821/cx25821.h b/drivers/media/pci/cx25821/cx25821.h
index df2ea22..c63f7f5 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;
OpenPOWER on IntegriCloud