patch-2.1.68 linux/drivers/char/videodev.c
Next file: linux/drivers/char/vt.c
Previous file: linux/drivers/char/pcwd.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Nov 30 14:02:02 1997
- Orig file:
v2.1.67/linux/drivers/char/videodev.c
- Orig date:
Sat Nov 29 11:25:09 1997
diff -u --recursive --new-file v2.1.67/linux/drivers/char/videodev.c linux/drivers/char/videodev.c
@@ -249,7 +249,7 @@
return 0;
}
-
+#ifdef MODULE
int init_module(void)
{
return videodev_init();
@@ -259,6 +259,8 @@
{
unregister_chrdev(VIDEO_MAJOR, "video_capture");
}
+
+#endif
EXPORT_SYMBOL(video_register_device);
EXPORT_SYMBOL(video_unregister_device);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov