* [PATCH] scsi: adding __init/__exit macros to ibmvstgt.c
@ 2009-06-24 11:22 Peter Hüwe
0 siblings, 0 replies; only message in thread
From: Peter Hüwe @ 2009-06-24 11:22 UTC (permalink / raw)
To: trivial
Cc: kernel-janitors, James.Bottomley, fujita.tomonori, akpm,
harvey.harrison, linux-scsi, linux-kernel, peterhuewe
From: Peter Huewe <peterhuewe@gmx.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@gmx.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");
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-24 11:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-24 11:22 [PATCH] scsi: adding __init/__exit macros to ibmvstgt.c Peter Hüwe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).