Staging: comedi: usbdux: annotate __init and __exit functions
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Tue, 3 Mar 2009 18:38:36 +0000 (19:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:53 +0000 (14:53 -0700)
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Cc: Bernd Porr <BerndPorr@f2s.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/usbdux.c

index 785e8b709938d76c896eb34ba93d7a0be5b87f3e..0e02e646dad66b00f043694404ad5bebdee657c0 100644 (file)
@@ -2930,7 +2930,7 @@ static struct usb_driver usbduxsub_driver = {
 /* Can't use the nice macro as I have also to initialise the USB */
 /* subsystem: */
 /* registering the usb-system _and_ the comedi-driver */
-static int init_usbdux(void)
+static int __init init_usbdux(void)
 {
        printk(KERN_INFO KBUILD_MODNAME ": "
               DRIVER_VERSION ":" DRIVER_DESC "\n");
@@ -2940,7 +2940,7 @@ static int init_usbdux(void)
 }
 
 /* deregistering the comedi driver and the usb-subsystem */
-static void exit_usbdux(void)
+static void __exit exit_usbdux(void)
 {
        comedi_driver_unregister(&driver_usbdux);
        usb_deregister(&usbduxsub_driver);