Skip to content

Commit e9b525b

Browse files
Xiang Yangmartinkpetersen
authored andcommitted
scsi: arcmsr: Add __init and __exit for arcmsr_module_{init,exit}()
Add __init and __exit for arcmsr_module_{init,exit}(). Signed-off-by: Xiang Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent a905b5c commit e9b525b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/scsi/arcmsr/arcmsr_hba.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,14 +1715,14 @@ static void arcmsr_shutdown(struct pci_dev *pdev)
17151715
arcmsr_flush_adapter_cache(acb);
17161716
}
17171717

1718-
static int arcmsr_module_init(void)
1718+
static int __init arcmsr_module_init(void)
17191719
{
17201720
int error = 0;
17211721
error = pci_register_driver(&arcmsr_pci_driver);
17221722
return error;
17231723
}
17241724

1725-
static void arcmsr_module_exit(void)
1725+
static void __exit arcmsr_module_exit(void)
17261726
{
17271727
pci_unregister_driver(&arcmsr_pci_driver);
17281728
}

0 commit comments

Comments
 (0)