diff options
| author | Eduardo Habkost | 2021-08-05 21:34:31 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2021-09-04 15:07:46 +0200 |
| commit | b914e741e91ad2b1515dcded57ff5a5e07ec353d (patch) | |
| tree | bec16e5791c673893e4e52ae7dfa05261d6671ff /include | |
| parent | acpi: Delete broken ACPI_GED_X86 macro (diff) | |
| download | qemu-b914e741e91ad2b1515dcded57ff5a5e07ec353d.tar.gz qemu-b914e741e91ad2b1515dcded57ff5a5e07ec353d.tar.xz qemu-b914e741e91ad2b1515dcded57ff5a5e07ec353d.zip | |
Use PCI_HOST_BRIDGE macro
OBJECT_CHECK(PciHostState, ..., TYPE_PCI_HOST_BRIDGE) is exactly
what the PCI_HOST_BRIDGE macro does. We can just use the macro
instead of using OBJECT_CHECK manually.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20210805193431.307761-7-ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
