Patchwork unin_pci: Fix typos in device names

login
register
mail settings
Submitter Andreas Färber
Date Jan. 27, 2012, 7:08 p.m.
Message ID <1327691332-7066-1-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/138279/
State New
Headers show

Comments

Andreas Färber - Jan. 27, 2012, 7:08 p.m.
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>
---
 hw/unin_pci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/hw/unin_pci.c b/hw/unin_pci.c
index 2b394c0..9822353 100644
--- a/hw/unin_pci.c
+++ b/hw/unin_pci.c
@@ -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,
 };