summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/tlg2300/pd-common.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-07-16 08:17:58 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-05 10:35:11 -0300
commit1b952f17f3ecb1cf3c38cb0c99dfd794d32259b0 (patch)
tree1ed9700e47bd5ab6a672c0bad0efc44d78bc0fb1 /drivers/media/usb/tlg2300/pd-common.h
parent270ecca60e9a2b0e3f8e5a45238d8b9d4c953ebb (diff)
downloadblackbird-op-linux-1b952f17f3ecb1cf3c38cb0c99dfd794d32259b0.tar.gz
blackbird-op-linux-1b952f17f3ecb1cf3c38cb0c99dfd794d32259b0.zip
[media] tlg2300: embed video_device
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Huang Shijie <shijie8@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/tlg2300/pd-common.h')
-rw-r--r--drivers/media/usb/tlg2300/pd-common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/usb/tlg2300/pd-common.h b/drivers/media/usb/tlg2300/pd-common.h
index 67ad065d2c3c..052cb0c9530c 100644
--- a/drivers/media/usb/tlg2300/pd-common.h
+++ b/drivers/media/usb/tlg2300/pd-common.h
@@ -40,7 +40,7 @@
#define TUNER_FREQ_MAX (862000000)
struct vbi_data {
- struct video_device *v_dev;
+ struct video_device v_dev;
struct video_data *video;
struct front_face *front;
@@ -63,7 +63,7 @@ struct running_context {
struct video_data {
/* v4l2 video device */
- struct video_device *v_dev;
+ struct video_device v_dev;
/* the working context */
struct running_context context;
@@ -234,7 +234,6 @@ void dvb_stop_streaming(struct pd_dvb_adapter *);
/* FM */
int poseidon_fm_init(struct poseidon *);
int poseidon_fm_exit(struct poseidon *);
-struct video_device *vdev_init(struct poseidon *, struct video_device *);
/* vendor command ops */
int send_set_req(struct poseidon*, u8, s32, s32*);
@@ -250,7 +249,6 @@ void free_all_urb_generic(struct urb **urb_array, int num);
/* misc */
void poseidon_delete(struct kref *kref);
-void destroy_video_device(struct video_device **v_dev);
extern int debug_mode;
void set_debug_mode(struct video_device *vfd, int debug_mode);
OpenPOWER on IntegriCloud