aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r--drivers/media/video/gspca/gspca.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h
index a804ef18b8da..7c2f44b2397f 100644
--- a/drivers/media/video/gspca/gspca.h
+++ b/drivers/media/video/gspca/gspca.h
@@ -90,15 +90,14 @@ struct sd_desc {
90/* controls */ 90/* controls */
91 const struct ctrl *ctrls; 91 const struct ctrl *ctrls;
92 int nctrls; 92 int nctrls;
93/* operations */ 93/* mandatory operations */
94 cam_cf_op config; /* called on probe */ 94 cam_cf_op config; /* called on probe */
95 cam_op open; /* called on open */ 95 cam_op init; /* called on probe and resume */
96 cam_v_op start; /* called on stream on */ 96 cam_v_op start; /* called on stream on */
97 cam_v_op stopN; /* called on stream off - main alt */
98 cam_v_op stop0; /* called on stream off - alt 0 */
99 cam_v_op close; /* called on close */
100 cam_pkt_op pkt_scan; 97 cam_pkt_op pkt_scan;
101/* optional operations */ 98/* optional operations */
99 cam_v_op stopN; /* called on stream off - main alt */
100 cam_v_op stop0; /* called on stream off - alt 0 */
102 cam_v_op dq_callback; /* called when a frame has been dequeued */ 101 cam_v_op dq_callback; /* called when a frame has been dequeued */
103 cam_jpg_op get_jcomp; 102 cam_jpg_op get_jcomp;
104 cam_jpg_op set_jcomp; 103 cam_jpg_op set_jcomp;