From 319ae2c54817d5d7dd01c80edd9c765085f13a9e Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 5 Feb 2006 16:20:47 +0000 Subject: [PATCH] Fixed missing MODULE_LICENSE by using COMEDI_INITCLEANUP(). --- comedi/drivers/c6xdigio.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) 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); -- 2.26.2