From 7dcb582cd4b0c67e0053fbb87706bd0922d79027 Mon Sep 17 00:00:00 2001 From: Mariusz Kozlowski Date: Mon, 16 Feb 2009 21:31:29 +0100 Subject: [PATCH] Staging: comedi: usbduxfast: annotate __init and __exit functions This patch adds __init and __exit annotations to proper functions in the usbduxfast driver. Signed-off-by: Mariusz Kozlowski Cc: Bernd Porr Cc: David Schleef Cc: Frank Mori Hess Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/usbduxfast.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c index c6d34703a344..861d8989a491 100644 --- a/drivers/staging/comedi/drivers/usbduxfast.c +++ b/drivers/staging/comedi/drivers/usbduxfast.c @@ -1826,7 +1826,7 @@ static comedi_driver driver_usbduxfast = { .detach = usbduxfast_detach }; -static void init_usb_devices(void) +static void __init init_usb_devices(void) { int index; @@ -1875,7 +1875,7 @@ static struct usb_driver usbduxfastsub_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_usbduxfast(void) +static int __init init_usbduxfast(void) { printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" DRIVER_DESC "\n"); @@ -1888,7 +1888,7 @@ static int init_usbduxfast(void) /* * deregistering the comedi driver and the usb-subsystem */ -static void exit_usbduxfast(void) +static void __exit exit_usbduxfast(void) { comedi_driver_unregister(&driver_usbduxfast); usb_deregister(&usbduxfastsub_driver); -- 2.30.2