提交 b5833cbb 编写于 作者: P Peter Huewe 提交者: James Bottomley

[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: NPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Acked-by: NBrian King <brking@linux.vnet.ibm.com>
Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
上级 0dcae66f
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册