]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/gspca/gspca.h
V4L/DVB (9541): gspca: Add infrared control for sonixj - mi0360.
[linux-2.6-omap-h63xx.git] / drivers / media / video / gspca / gspca.h
index 1d9dc90b479137d87c878fc84a3ee9e022a61e45..2ae1ad7c1483ea8d235f0c9396cbb4f75c3ea632 100644 (file)
@@ -97,7 +97,7 @@ struct sd_desc {
        cam_pkt_op pkt_scan;
 /* optional operations */
        cam_v_op stopN;         /* called on stream off - main alt */
-       cam_v_op stop0;         /* called on stream off - alt 0 */
+       cam_v_op stop0;         /* called on stream off & disconnect - alt 0 */
        cam_v_op dq_callback;   /* called when a frame has been dequeued */
        cam_jpg_op get_jcomp;
        cam_jpg_op set_jcomp;
@@ -121,7 +121,7 @@ struct gspca_frame {
 
 struct gspca_dev {
        struct video_device vdev;       /* !! must be the first item */
-       struct file_operations fops;
+       struct module *module;          /* subdriver handling the device */
        struct usb_device *dev;
        struct kref kref;
        struct file *capt_file;         /* file doing video capture */