forked from Minki/linux
pcmcia: Add __init/__exit annotations to module init/exit funcs
Add missing __init/__exit annotations to module init/exit funcs. Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
105e2fdb25
commit
ea9d7c790a
@ -661,12 +661,12 @@ static int i82092aa_set_mem_map(struct pcmcia_socket *socket,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int i82092aa_module_init(void)
|
||||
static int __init i82092aa_module_init(void)
|
||||
{
|
||||
return pci_register_driver(&i82092aa_pci_driver);
|
||||
}
|
||||
|
||||
static void i82092aa_module_exit(void)
|
||||
static void __exit i82092aa_module_exit(void)
|
||||
{
|
||||
pci_unregister_driver(&i82092aa_pci_driver);
|
||||
if (sockets[0].io_base > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user