patch-2.4.3 linux/drivers/media/video/cpia.c
Next file: linux/drivers/media/video/cpia.h
Previous file: linux/drivers/media/video/c-qcam.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Fri Mar 2 11:12:10 2001
- Orig file:
v2.4.2/linux/drivers/media/video/cpia.c
- Orig date:
Fri Nov 17 17:56:51 2000
diff -u --recursive --new-file v2.4.2/linux/drivers/media/video/cpia.c linux/drivers/media/video/cpia.c
@@ -2499,9 +2499,6 @@
cam->mmap_kludge = 0;
++cam->open_count;
-#ifdef MODULE
- MOD_INC_USE_COUNT;
-#endif
return 0;
}
@@ -2554,9 +2551,6 @@
}
-#ifdef MODULE
- MOD_DEC_USE_COUNT;
-#endif
return;
}
@@ -3031,6 +3025,7 @@
}
static struct video_device cpia_template = {
+ owner: THIS_MODULE,
name: "CPiA Camera",
type: VID_TYPE_CAPTURE,
hardware: VID_HARDWARE_CPIA, /* FIXME */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)