From: Frank Mori Hess Date: Sun, 5 Feb 2006 16:20:47 +0000 (+0000) Subject: Fixed missing MODULE_LICENSE by using COMEDI_INITCLEANUP(). X-Git-Tag: r0_7_71~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=319ae2c54817d5d7dd01c80edd9c765085f13a9e;p=comedi.git Fixed missing MODULE_LICENSE by using COMEDI_INITCLEANUP(). --- diff --git a/comedi/drivers/c6xdigio.c b/comedi/drivers/c6xdigio.c index 2689a481..60918c1b 100644 --- a/comedi/drivers/c6xdigio.c +++ b/comedi/drivers/c6xdigio.c @@ -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);