diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2013-09-02 14:43:36 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-09-20 20:09:23 +0400 |
commit | 451f7846ec64bbaa8feba03851e6fbb52acbf55c (patch) | |
tree | de228fac0819b8d4c8b0588af8f741d8b435a314 | |
parent | e600cdf3b4ffe3370eb10a8e43ed547ac0f716cf (diff) | |
download | hqemu-451f7846ec64bbaa8feba03851e6fbb52acbf55c.zip hqemu-451f7846ec64bbaa8feba03851e6fbb52acbf55c.tar.gz |
q35: Fix typo in constant DEFUALT -> DEFAULT.
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | hw/pci-host/q35.c | 2 | ||||
-rw-r--r-- | include/hw/pci-host/q35.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c index 5473504..0cb652d 100644 --- a/hw/pci-host/q35.c +++ b/hw/pci-host/q35.c @@ -372,7 +372,7 @@ static void mch_class_init(ObjectClass *klass, void *data) dc->vmsd = &vmstate_mch; k->vendor_id = PCI_VENDOR_ID_INTEL; k->device_id = PCI_DEVICE_ID_INTEL_Q35_MCH; - k->revision = MCH_HOST_BRIDGE_REVISION_DEFUALT; + k->revision = MCH_HOST_BRIDGE_REVISION_DEFAULT; k->class_id = PCI_CLASS_BRIDGE_HOST; } diff --git a/include/hw/pci-host/q35.h b/include/hw/pci-host/q35.h index 6eb7ab6..56de92e 100644 --- a/include/hw/pci-host/q35.h +++ b/include/hw/pci-host/q35.h @@ -85,7 +85,7 @@ typedef struct Q35PCIHost { #define MCH_HOST_BRIDGE_CONFIG_DATA 0xcfc /* D0:F0 configuration space */ -#define MCH_HOST_BRIDGE_REVISION_DEFUALT 0x0 +#define MCH_HOST_BRIDGE_REVISION_DEFAULT 0x0 #define MCH_HOST_BRIDGE_PCIEXBAR 0x60 /* 64bit register */ #define MCH_HOST_BRIDGE_PCIEXBAR_SIZE 8 /* 64bit register */ |