[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200906241322.58136.PeterHuewe@gmx.de>
Date: Wed, 24 Jun 2009 13:22:57 +0200
From: Peter Hüwe <PeterHuewe@....de>
To: trivial@...nel.org
Cc: kernel-janitors@...r.kernel.org,
James.Bottomley@...senpartnership.com,
fujita.tomonori@....ntt.co.jp, akpm@...ux-foundation.org,
harvey.harrison@...il.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, peterhuewe@....de
Subject: [PATCH] scsi: adding __init/__exit macros to ibmvstgt.c
From: Peter Huewe <peterhuewe@....de>
Trivial patch which adds the __init and __exit macros to the module_init /
module_exit functions from drivers/scsi/ibmvscsi/ibmvstgt.c
linux version 2.6.30 - linus git tree.
Signed-off-by: Peter Huewe <peterhuewe@....de>
---
I'm sorry if you receive this message twice - but my first message does
not seemto be delivered to any of the mailing lists.
diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/drivers/scsi/ibmvscsi/ibmvstgt.c
index d5eaf97..30a25da 100644
--- a/drivers/scsi/ibmvscsi/ibmvstgt.c
+++ b/drivers/scsi/ibmvscsi/ibmvstgt.c
@@ -955,7 +955,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;
@@ -986,7 +986,7 @@ release_transport:
return err;
}
-static void ibmvstgt_exit(void)
+static void __exit ibmvstgt_exit(void)
{
printk("Unregister IBM virtual SCSI driver\n");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists