]> git.proxmox.com Git - qemu.git/commitdiff
pci: fix BRDIGE typo
authorDon Koch <dkoch@verizon.com>
Tue, 9 Jul 2013 17:36:05 +0000 (13:36 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 10 Jul 2013 09:49:33 +0000 (12:49 +0300)
Fix typo in macro name: PCI_CLASS_BRDIGE_PCI_INF_SUB.

Signed-off-by: Don Koch <dkoch@verizon.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-bridge/i82801b11.c
include/hw/pci/pci_ids.h

index 5807a92d7f30f7c6c15778e3ba85a18328695954..b98bfb0664034baf922477ffc4ce58250bdc73d0 100644 (file)
@@ -69,7 +69,7 @@ static int i82801b11_bridge_initfn(PCIDevice *d)
     if (rc < 0) {
         goto err_bridge;
     }
-    pci_config_set_prog_interface(d->config, PCI_CLASS_BRDIGE_PCI_INF_SUB);
+    pci_config_set_prog_interface(d->config, PCI_CLASS_BRIDGE_PCI_INF_SUB);
     return 0;
 
 err_bridge:
index 08f8161524e0a154b135260529ca3a894f86fd5b..d7933bfd1621698a5a2420119e6df7c9880b85cd 100644 (file)
@@ -39,7 +39,7 @@
 #define PCI_CLASS_BRIDGE_HOST            0x0600
 #define PCI_CLASS_BRIDGE_ISA             0x0601
 #define PCI_CLASS_BRIDGE_PCI             0x0604
-#define PCI_CLASS_BRDIGE_PCI_INF_SUB     0x01
+#define PCI_CLASS_BRIDGE_PCI_INF_SUB     0x01
 #define PCI_CLASS_BRIDGE_OTHER           0x0680
 
 #define PCI_CLASS_COMMUNICATION_SERIAL   0x0700