aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2010-07-20 18:28:41 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 10:07:04 -0400
commitb5833cbbd7c2bc3462e684feadd8e6a0ca8e5387 (patch)
tree666d53857d6fd00f8c5e913cca5287e9f9828408 /drivers
parent0dcae66fd9cb47f4db64aba20a59d26e09e78fe4 (diff)
[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 <peterhuewe@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvstgt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/drivers/scsi/ibmvscsi/ibmvstgt.c
index e2056d517e99..2256babe0474 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 = {
956 .it_nexus_response = ibmvstgt_it_nexus_response, 956 .it_nexus_response = ibmvstgt_it_nexus_response,
957}; 957};
958 958
959static int ibmvstgt_init(void) 959static int __init ibmvstgt_init(void)
960{ 960{
961 int err = -ENOMEM; 961 int err = -ENOMEM;
962 962
@@ -987,7 +987,7 @@ release_transport:
987 return err; 987 return err;
988} 988}
989 989
990static void ibmvstgt_exit(void) 990static void __exit ibmvstgt_exit(void)
991{ 991{
992 printk("Unregister IBM virtual SCSI driver\n"); 992 printk("Unregister IBM virtual SCSI driver\n");
993 993