Commit b76dd930 authored by Johannes Berg's avatar Johannes Berg Committed by Richard Weinberger

um: make PCI emulation driver init/exit static

The functions aren't used elsewhere, so they can be static.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: 68f5d3f3 ("um: add PCI over virtio emulation driver")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Acked-By: default avatarAnton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 7c60610d
...@@ -810,7 +810,7 @@ void *pci_root_bus_fwnode(struct pci_bus *bus) ...@@ -810,7 +810,7 @@ void *pci_root_bus_fwnode(struct pci_bus *bus)
return um_pci_fwnode; return um_pci_fwnode;
} }
int um_pci_init(void) static int um_pci_init(void)
{ {
int err, i; int err, i;
...@@ -884,7 +884,7 @@ int um_pci_init(void) ...@@ -884,7 +884,7 @@ int um_pci_init(void)
} }
module_init(um_pci_init); module_init(um_pci_init);
void um_pci_exit(void) static void um_pci_exit(void)
{ {
unregister_virtio_driver(&um_pci_virtio_driver); unregister_virtio_driver(&um_pci_virtio_driver);
irq_domain_remove(um_pci_msi_domain); irq_domain_remove(um_pci_msi_domain);
......
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