mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
[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>
This commit is contained in:
parent
0dcae66fd9
commit
b5833cbbd7
1 changed files with 2 additions and 2 deletions
|
@ -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 @@ 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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue