Staging: comedi: usbdux: annotate __init and __exit functions
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>
This commit is contained in:
parent
ab3795270d
commit
1b9fb14eb2
|
@ -2930,7 +2930,7 @@ static struct usb_driver usbduxsub_driver = {
|
||||||
/* Can't use the nice macro as I have also to initialise the USB */
|
/* Can't use the nice macro as I have also to initialise the USB */
|
||||||
/* subsystem: */
|
/* subsystem: */
|
||||||
/* registering the usb-system _and_ the comedi-driver */
|
/* registering the usb-system _and_ the comedi-driver */
|
||||||
static int init_usbdux(void)
|
static int __init init_usbdux(void)
|
||||||
{
|
{
|
||||||
printk(KERN_INFO KBUILD_MODNAME ": "
|
printk(KERN_INFO KBUILD_MODNAME ": "
|
||||||
DRIVER_VERSION ":" DRIVER_DESC "\n");
|
DRIVER_VERSION ":" DRIVER_DESC "\n");
|
||||||
|
@ -2940,7 +2940,7 @@ static int init_usbdux(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* deregistering the comedi driver and the usb-subsystem */
|
/* deregistering the comedi driver and the usb-subsystem */
|
||||||
static void exit_usbdux(void)
|
static void __exit exit_usbdux(void)
|
||||||
{
|
{
|
||||||
comedi_driver_unregister(&driver_usbdux);
|
comedi_driver_unregister(&driver_usbdux);
|
||||||
usb_deregister(&usbduxsub_driver);
|
usb_deregister(&usbduxsub_driver);
|
||||||
|
|
Loading…
Reference in New Issue