[tip:tools/kvm] kvm tools: use correct init group for the PCI controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  1682dc593a5b26a91fff7f39562f245fe1176f1e
Gitweb:     http://git.kernel.org/tip/1682dc593a5b26a91fff7f39562f245fe1176f1e
Author:     Sasha Levin <sasha.levin@xxxxxxxxxx>
AuthorDate: Wed, 24 Oct 2012 12:52:26 -0400
Committer:  Pekka Enberg <penberg@xxxxxxxxxx>
CommitDate: Thu, 25 Oct 2012 09:45:55 +0300

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@xxxxxxxxxx>
Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx>
---
 tools/kvm/pci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/kvm/pci.c b/tools/kvm/pci.c
index a28b5e2..c77d3cc 100644
--- a/tools/kvm/pci.c
+++ b/tools/kvm/pci.c
@@ -203,7 +203,7 @@ int pci__init(struct kvm *kvm)
 
 	return 0;
 }
-base_init(pci__init);
+dev_base_init(pci__init);
 
 int pci__exit(struct kvm *kvm)
 {
@@ -212,4 +212,4 @@ int pci__exit(struct kvm *kvm)
 
 	return 0;
 }
-base_exit(pci__exit);
+dev_base_exit(pci__exit);
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux