OSDN Git Service

unin_pci: Fix typos in device names
authorAndreas Färber <afaerber@suse.de>
Fri, 27 Jan 2012 19:08:52 +0000 (20:08 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 27 Jan 2012 20:55:36 +0000 (14:55 -0600)
Commit 999e12bbe85c5dcf49bef13bce4f97399c7105f4 (sysbus: apic: ioapic:
convert to QEMU Object Model) introduced two typos, one of which broke
the mac99 machine.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/unin_pci.c

index 2b394c0..9822353 100644 (file)
@@ -415,7 +415,7 @@ static void pci_unin_main_class_init(ObjectClass *klass, void *data)
 }
 
 static DeviceInfo pci_unin_main_info = {
-    .name = "uni-north-pci-pchost",
+    .name = "uni-north-pci-pcihost",
     .size = sizeof(UNINState),
     .class_init = pci_unin_main_class_init,
 };
@@ -454,7 +454,7 @@ static void pci_unin_internal_class_init(ObjectClass *klass, void *data)
 }
 
 static DeviceInfo pci_unin_internal_info = {
-    .name = "uni-north-internal-pci-pichost",
+    .name = "uni-north-internal-pci-pcihost",
     .size = sizeof(UNINState),
     .class_init = pci_unin_internal_class_init,
 };