aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-context.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-context.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-context.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-context.h b/drivers/media/video/pvrusb2/pvrusb2-context.h
index 96b255f02381..127ec53e0913 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-context.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-context.h
@@ -43,8 +43,10 @@ struct pvr2_context {
43 struct pvr2_hdw *hdw; 43 struct pvr2_hdw *hdw;
44 struct pvr2_context_stream video_stream; 44 struct pvr2_context_stream video_stream;
45 struct mutex mutex; 45 struct mutex mutex;
46 int notify_flag;
46 int disconnect_flag; 47 int disconnect_flag;
47 int init_flag; 48
49 wait_queue_head_t wait_data;
48 50
49 /* Called after pvr2_context initialization is complete */ 51 /* Called after pvr2_context initialization is complete */
50 void (*setup_func)(struct pvr2_context *); 52 void (*setup_func)(struct pvr2_context *);
@@ -60,9 +62,6 @@ struct pvr2_channel {
60 void (*check_func)(struct pvr2_channel *); 62 void (*check_func)(struct pvr2_channel *);
61}; 63};
62 64
63void pvr2_context_enter(struct pvr2_context *);
64void pvr2_context_exit(struct pvr2_context *);
65
66struct pvr2_context *pvr2_context_create(struct usb_interface *intf, 65struct pvr2_context *pvr2_context_create(struct usb_interface *intf,
67 const struct usb_device_id *devid, 66 const struct usb_device_id *devid,
68 void (*setup_func)(struct pvr2_context *)); 67 void (*setup_func)(struct pvr2_context *));