Commit 1f93ad17 authored by Chen Tao's avatar Chen Tao Committed by Martin K. Petersen

scsi: ibmvscsi: Make some functions static

Fix the following warning:

drivers/scsi/ibmvscsi/ibmvscsi.c:2387:12: warning: symbol
'ibmvscsi_module_init' was not declared. Should it be static?
drivers/scsi/ibmvscsi/ibmvscsi.c:2409:13: warning: symbol
'ibmvscsi_module_exit' was not declared. Should it be static?

Link: https://lore.kernel.org/r/20200520091036.247286-1-chentao107@huawei.comSigned-off-by: default avatarChen Tao <chentao107@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 7e7cd796
...@@ -2388,7 +2388,7 @@ static struct vio_driver ibmvscsi_driver = { ...@@ -2388,7 +2388,7 @@ static struct vio_driver ibmvscsi_driver = {
static struct srp_function_template ibmvscsi_transport_functions = { static struct srp_function_template ibmvscsi_transport_functions = {
}; };
int __init ibmvscsi_module_init(void) static int __init ibmvscsi_module_init(void)
{ {
int ret; int ret;
...@@ -2410,7 +2410,7 @@ int __init ibmvscsi_module_init(void) ...@@ -2410,7 +2410,7 @@ int __init ibmvscsi_module_init(void)
return ret; return ret;
} }
void __exit ibmvscsi_module_exit(void) static void __exit ibmvscsi_module_exit(void)
{ {
vio_unregister_driver(&ibmvscsi_driver); vio_unregister_driver(&ibmvscsi_driver);
srp_release_transport(ibmvscsi_transport_template); srp_release_transport(ibmvscsi_transport_template);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment