patch-2.4.3 linux/drivers/media/video/vino.c

Next file: linux/drivers/media/video/zr36120.c
Previous file: linux/drivers/media/video/videodev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/drivers/media/video/vino.c linux/drivers/media/video/vino.c
@@ -203,13 +203,11 @@
 
 static int vino_open(struct video_device *dev, int flags)
 {
-	MOD_INC_USE_COUNT;
 	return 0;
 }
 
 static void vino_close(struct video_device *dev)
 {
-	MOD_DEC_USE_COUNT;
 }
 
 static int vino_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
@@ -224,6 +222,7 @@
 }
 
 static struct video_device vino_dev = {
+	owner:		THIS_MODULE,
 	name:		"Vino IndyCam/TV",
 	type:		VID_TYPE_CAPTURE,
 	hardware:	VID_HARDWARE_VINO,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)