Commit 3cefee4a authored by Peter Huewe's avatar Peter Huewe Committed by james toy

Add the __init and __exit macros to the module_init / module_exit

functions from drivers/scsi/ibmvscsi/ibmvstgt.c
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Acked-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent c38a8607
...@@ -955,7 +955,7 @@ static struct srp_function_template ibmvstgt_transport_functions = { ...@@ -955,7 +955,7 @@ static struct srp_function_template ibmvstgt_transport_functions = {
.it_nexus_response = ibmvstgt_it_nexus_response, .it_nexus_response = ibmvstgt_it_nexus_response,
}; };
static int ibmvstgt_init(void) static int __init ibmvstgt_init(void)
{ {
int err = -ENOMEM; int err = -ENOMEM;
...@@ -986,7 +986,7 @@ release_transport: ...@@ -986,7 +986,7 @@ release_transport:
return err; return err;
} }
static void ibmvstgt_exit(void) static void __exit ibmvstgt_exit(void)
{ {
printk("Unregister IBM virtual SCSI driver\n"); printk("Unregister IBM virtual SCSI driver\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment