Fixed missing MODULE_LICENSE by using COMEDI_INITCLEANUP().
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 5 Feb 2006 16:20:47 +0000 (16:20 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 5 Feb 2006 16:20:47 +0000 (16:20 +0000)
comedi/drivers/c6xdigio.c

index 2689a48100f2c27f854edc57165139868645e47a..60918c1b104ba4acdeb013a6423eb09482ef9fbc 100644 (file)
@@ -29,6 +29,7 @@ Status: unknown
 Devices: [Mechatronic Systems Inc.] C6x_DIGIO DSP daughter card (c6xdigio)
 Updated: Sun Nov 20 20:18:34 EST 2005
 
+This driver will not work with a 2.4 kernel.
 http://robot0.ge.uiuc.edu/~spong/mecha/
 
 */
@@ -510,20 +511,6 @@ static int c6xdigio_detach(comedi_device * dev)
   return 0;
 }
 
-
-#ifdef MODULE
-int init_module(void)
-{
-       comedi_driver_register(&driver_c6xdigio);
-       
-       return 0;
-}
-
-void cleanup_module(void)
-{
-       comedi_driver_unregister(&driver_c6xdigio);
-}
-#endif
-
+COMEDI_INITCLEANUP(driver_c6xdigio);