Commit e9b525b6 authored by Xiang Yang's avatar Xiang Yang Committed by Martin K. Petersen

scsi: arcmsr: Add __init and __exit for arcmsr_module_{init,exit}()

Add __init and __exit for arcmsr_module_{init,exit}().
Signed-off-by: default avatarXiang Yang <xiangyang3@huawei.com>
Link: https://lore.kernel.org/r/20230804022913.1917023-1-xiangyang3@huawei.comSigned-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent a905b5cd
...@@ -1715,14 +1715,14 @@ static void arcmsr_shutdown(struct pci_dev *pdev) ...@@ -1715,14 +1715,14 @@ static void arcmsr_shutdown(struct pci_dev *pdev)
arcmsr_flush_adapter_cache(acb); arcmsr_flush_adapter_cache(acb);
} }
static int arcmsr_module_init(void) static int __init arcmsr_module_init(void)
{ {
int error = 0; int error = 0;
error = pci_register_driver(&arcmsr_pci_driver); error = pci_register_driver(&arcmsr_pci_driver);
return error; return error;
} }
static void arcmsr_module_exit(void) static void __exit arcmsr_module_exit(void)
{ {
pci_unregister_driver(&arcmsr_pci_driver); pci_unregister_driver(&arcmsr_pci_driver);
} }
......
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