Skip to content

Commit

Permalink
[SCSI] ibmvstgt: add __init/__exit macros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and James Bottomley committed Jul 28, 2010
1 parent 0dcae66 commit b5833cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/ibmvscsi/ibmvstgt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -987,7 +987,7 @@ static int ibmvstgt_init(void)
return err;
}

static void ibmvstgt_exit(void)
static void __exit ibmvstgt_exit(void)
{
printk("Unregister IBM virtual SCSI driver\n");

Expand Down

0 comments on commit b5833cb

Please sign in to comment.