kvm tools: use correct init group for the PCI controller
PCI controller is what deals with PCI devices, and it depends on
vcpus being there, so it should be in the dev_base group.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
diff --git a/pci.c b/pci.c
index a28b5e2..c77d3cc 100644
--- a/pci.c
+++ b/pci.c
@@ -203,7 +203,7 @@
return 0;
}
-base_init(pci__init);
+dev_base_init(pci__init);
int pci__exit(struct kvm *kvm)
{
@@ -212,4 +212,4 @@
return 0;
}
-base_exit(pci__exit);
+dev_base_exit(pci__exit);