aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx25821/cx25821.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-04-14 11:07:13 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-16 17:09:57 -0400
commit1f1988706d77083040113094a4bee2e9e1bdc34f (patch)
treeb9dff012fec01c1826c548cb4be7f9a8f2d35839 /drivers/media/pci/cx25821/cx25821.h
parenta6aa0dc482d7aad5fc4366d4c92d07a10d712b82 (diff)
[media] cx25821: setup output nodes correctly
Drop the custom ioctls and enable the video output nodes again, this time using standard ioctls. The next step will be to provide a proper write() interface. 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.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/media/pci/cx25821/cx25821.h b/drivers/media/pci/cx25821/cx25821.h
index 67b3c550e454..156ad6f2c634 100644
--- a/drivers/media/pci/cx25821/cx25821.h
+++ b/drivers/media/pci/cx25821/cx25821.h
@@ -329,14 +329,6 @@ struct cx25821_dev {
329 int command; 329 int command;
330}; 330};
331 331
332struct upstream_user_struct {
333 char *input_filename;
334 char *vid_stdname;
335 int pixel_format;
336 int channel_select;
337 int command;
338};
339
340static inline struct cx25821_dev *get_cx25821(struct v4l2_device *v4l2_dev) 332static inline struct cx25821_dev *get_cx25821(struct v4l2_device *v4l2_dev)
341{ 333{
342 return container_of(v4l2_dev, struct cx25821_dev, v4l2_dev); 334 return container_of(v4l2_dev, struct cx25821_dev, v4l2_dev);
@@ -480,14 +472,6 @@ extern int cx25821_audio_upstream_init(struct cx25821_dev *dev,
480extern void cx25821_free_mem_upstream_ch1(struct cx25821_dev *dev); 472extern void cx25821_free_mem_upstream_ch1(struct cx25821_dev *dev);
481extern void cx25821_free_mem_upstream_ch2(struct cx25821_dev *dev); 473extern void cx25821_free_mem_upstream_ch2(struct cx25821_dev *dev);
482extern void cx25821_free_mem_upstream_audio(struct cx25821_dev *dev); 474extern void cx25821_free_mem_upstream_audio(struct cx25821_dev *dev);
483extern void cx25821_start_upstream_video_ch1(struct cx25821_dev *dev,
484 struct upstream_user_struct
485 *up_data);
486extern void cx25821_start_upstream_video_ch2(struct cx25821_dev *dev,
487 struct upstream_user_struct
488 *up_data);
489extern void cx25821_start_upstream_audio(struct cx25821_dev *dev,
490 struct upstream_user_struct *up_data);
491extern void cx25821_stop_upstream_video_ch1(struct cx25821_dev *dev); 475extern void cx25821_stop_upstream_video_ch1(struct cx25821_dev *dev);
492extern void cx25821_stop_upstream_video_ch2(struct cx25821_dev *dev); 476extern void cx25821_stop_upstream_video_ch2(struct cx25821_dev *dev);
493extern void cx25821_stop_upstream_audio(struct cx25821_dev *dev); 477extern void cx25821_stop_upstream_audio(struct cx25821_dev *dev);