From: Mariusz Kozlowski Date: Tue, 3 Mar 2009 18:38:36 +0000 (+0100) Subject: Staging: comedi: usbdux: annotate __init and __exit functions X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1b9fb14eb21f86519ce35a2e770a29cd768386a2;p=linux-beck.git Staging: comedi: usbdux: annotate __init and __exit functions Signed-off-by: Mariusz Kozlowski Cc: Bernd Porr Cc: Ian Abbott Cc: Frank Mori Hess Cc: David Schleef Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/usbdux.c b/drivers/staging/comedi/drivers/usbdux.c index 785e8b709938..0e02e646dad6 100644 --- a/drivers/staging/comedi/drivers/usbdux.c +++ b/drivers/staging/comedi/drivers/usbdux.c @@ -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);