diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-04-14 11:07:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-16 17:09:57 -0400 |
commit | 1f1988706d77083040113094a4bee2e9e1bdc34f (patch) | |
tree | b9dff012fec01c1826c548cb4be7f9a8f2d35839 /drivers/media/pci/cx25821/cx25821.h | |
parent | a6aa0dc482d7aad5fc4366d4c92d07a10d712b82 (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.h | 16 |
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 | ||
332 | struct upstream_user_struct { | ||
333 | char *input_filename; | ||
334 | char *vid_stdname; | ||
335 | int pixel_format; | ||
336 | int channel_select; | ||
337 | int command; | ||
338 | }; | ||
339 | |||
340 | static inline struct cx25821_dev *get_cx25821(struct v4l2_device *v4l2_dev) | 332 | static 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, | |||
480 | extern void cx25821_free_mem_upstream_ch1(struct cx25821_dev *dev); | 472 | extern void cx25821_free_mem_upstream_ch1(struct cx25821_dev *dev); |
481 | extern void cx25821_free_mem_upstream_ch2(struct cx25821_dev *dev); | 473 | extern void cx25821_free_mem_upstream_ch2(struct cx25821_dev *dev); |
482 | extern void cx25821_free_mem_upstream_audio(struct cx25821_dev *dev); | 474 | extern void cx25821_free_mem_upstream_audio(struct cx25821_dev *dev); |
483 | extern void cx25821_start_upstream_video_ch1(struct cx25821_dev *dev, | ||
484 | struct upstream_user_struct | ||
485 | *up_data); | ||
486 | extern void cx25821_start_upstream_video_ch2(struct cx25821_dev *dev, | ||
487 | struct upstream_user_struct | ||
488 | *up_data); | ||
489 | extern void cx25821_start_upstream_audio(struct cx25821_dev *dev, | ||
490 | struct upstream_user_struct *up_data); | ||
491 | extern void cx25821_stop_upstream_video_ch1(struct cx25821_dev *dev); | 475 | extern void cx25821_stop_upstream_video_ch1(struct cx25821_dev *dev); |
492 | extern void cx25821_stop_upstream_video_ch2(struct cx25821_dev *dev); | 476 | extern void cx25821_stop_upstream_video_ch2(struct cx25821_dev *dev); |
493 | extern void cx25821_stop_upstream_audio(struct cx25821_dev *dev); | 477 | extern void cx25821_stop_upstream_audio(struct cx25821_dev *dev); |