From: Peter Huewe Date: Tue, 20 Jul 2010 22:28:41 +0000 (-0700) Subject: [SCSI] ibmvstgt: add __init/__exit macros X-Git-Tag: v2.6.36-rc1~570^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5833cbbd7c2bc3462e684feadd8e6a0ca8e5387;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [SCSI] ibmvstgt: add __init/__exit macros Add the __init and __exit macros to the module_init / module_exit functions from drivers/scsi/ibmvscsi/ibmvstgt.c Signed-off-by: Peter Huewe Signed-off-by: Andrew Morton Acked-by: Brian King Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/drivers/scsi/ibmvscsi/ibmvstgt.c index e2056d5..2256bab 100644 --- a/drivers/scsi/ibmvscsi/ibmvstgt.c +++ b/drivers/scsi/ibmvscsi/ibmvstgt.c @@ -956,7 +956,7 @@ static struct srp_function_template ibmvstgt_transport_functions = { .it_nexus_response = ibmvstgt_it_nexus_response, }; -static int ibmvstgt_init(void) +static int __init ibmvstgt_init(void) { int err = -ENOMEM; @@ -987,7 +987,7 @@ release_transport: return err; } -static void ibmvstgt_exit(void) +static void __exit ibmvstgt_exit(void) { printk("Unregister IBM virtual SCSI driver\n");