summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2010-07-21 00:28:41 +0200
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 16:07:04 +0200
commitb5833cbbd7c2bc3462e684feadd8e6a0ca8e5387 (patch)
tree666d53857d6fd00f8c5e913cca5287e9f9828408
parent[SCSI] aacraid: Do not set DMA mask to 32 bit first if adapter only supports 31 (diff)
downloadlinux-b5833cbbd7c2bc3462e684feadd8e6a0ca8e5387.tar.xz
linux-b5833cbbd7c2bc3462e684feadd8e6a0ca8e5387.zip
[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>
-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 = {
.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");