Commit ea9d7c79 authored by Xiu Jianfeng's avatar Xiu Jianfeng Committed by Dominik Brodowski

pcmcia: Add __init/__exit annotations to module init/exit funcs

Add missing __init/__exit annotations to module init/exit funcs.
Signed-off-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 105e2fdb
...@@ -661,12 +661,12 @@ static int i82092aa_set_mem_map(struct pcmcia_socket *socket, ...@@ -661,12 +661,12 @@ static int i82092aa_set_mem_map(struct pcmcia_socket *socket,
return 0; return 0;
} }
static int i82092aa_module_init(void) static int __init i82092aa_module_init(void)
{ {
return pci_register_driver(&i82092aa_pci_driver); 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); pci_unregister_driver(&i82092aa_pci_driver);
if (sockets[0].io_base > 0) if (sockets[0].io_base > 0)
......
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