diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-06-23 16:15:28 +0900 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-07-11 20:00:57 +0300 |
commit | e327e323f103f7354a0385b835255e86b16ae669 (patch) | |
tree | 9ff56a6144150a5b6185a48cb72dd40b4d1aeb41 /hw/apb_pci.c | |
parent | b80d4a9887fa4b6cc63f8c3a13ab2a45054d3e5c (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/apb_pci.c')
-rw-r--r-- | hw/apb_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c index 6dd529f57f..69a774d98b 100644 --- a/hw/apb_pci.c +++ b/hw/apb_pci.c @@ -434,7 +434,7 @@ static PCIDeviceInfo pbm_pci_host_info = { .qdev.name = "pbm", .qdev.size = sizeof(PCIDevice), .init = pbm_pci_host_init, - .header_type = PCI_HEADER_TYPE_BRIDGE, + .is_bridge = 1, }; static SysBusDeviceInfo pbm_host_info = { |