um: virt-pci: 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: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
b7f28a37a5
commit
98639412fe
|
@ -857,7 +857,7 @@ void *pci_root_bus_fwnode(struct pci_bus *bus)
|
|||
return um_pci_fwnode;
|
||||
}
|
||||
|
||||
static int um_pci_init(void)
|
||||
static int __init um_pci_init(void)
|
||||
{
|
||||
int err, i;
|
||||
|
||||
|
@ -940,7 +940,7 @@ free:
|
|||
}
|
||||
module_init(um_pci_init);
|
||||
|
||||
static void um_pci_exit(void)
|
||||
static void __exit um_pci_exit(void)
|
||||
{
|
||||
unregister_virtio_driver(&um_pci_virtio_driver);
|
||||
irq_domain_remove(um_pci_msi_domain);
|
||||
|
|
Loading…
Reference in New Issue