summaryrefslogtreecommitdiff
path: root/hw/dec_pci.c
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-06-23 16:15:28 +0900
committerBlue Swirl <blauwirbel@gmail.com>2010-07-11 20:00:57 +0300
commite327e323f103f7354a0385b835255e86b16ae669 (patch)
tree9ff56a6144150a5b6185a48cb72dd40b4d1aeb41 /hw/dec_pci.c
parentb80d4a9887fa4b6cc63f8c3a13ab2a45054d3e5c (diff)
pci: remove PCIDeviceInfo::header_type
replace PCIDeviceInfo::header_type with is_bridge as suggested by Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/dec_pci.c')
-rw-r--r--hw/dec_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dec_pci.c b/hw/dec_pci.c
index 024c67ce70..83ce4cd44f 100644
--- a/hw/dec_pci.c
+++ b/hw/dec_pci.c
@@ -90,7 +90,7 @@ static PCIDeviceInfo dec_21154_pci_host_info = {
.qdev.name = "dec-21154",
.qdev.size = sizeof(PCIDevice),
.init = dec_21154_pci_host_init,
- .header_type = PCI_HEADER_TYPE_BRIDGE,
+ .is_bridge = 1,
};
static void dec_register_devices(void)