patch-2.3.4 linux/drivers/usb/cpia.c

Next file: linux/drivers/usb/hub.c
Previous file: linux/drivers/usb/audio.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.3/linux/drivers/usb/cpia.c linux/drivers/usb/cpia.c
@@ -17,6 +17,8 @@
 #include <linux/videodev.h>
 #include <linux/vmalloc.h>
 #include <linux/wrapper.h>
+#include <linux/config.h>
+#include <linux/module.h>
 
 #include <asm/spinlock.h>
 #include <asm/io.h>
@@ -1252,4 +1254,14 @@
 
 	return 0;
 }
+
+#ifdef MODULE
+int init_module(void)
+{
+	return usb_cpia_init();
+}
+void module_cleanup(void)
+{
+}
+#endif
 

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