pci: Move PCIBusClass typedef to pci.h
commit616bbde34293226e5c957761982ebaf1eff69d90
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:13 +0000 (25 15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:54 +0000 (27 14:04 -0400)
tree2843fffd2ba74136753e9334a0d03bc60dd4553c
parent7c9dcd6cabfa96ea2a89dd12041f3e63aa20a09c
pci: Move PCIBusClass typedef to pci.h

Move typedef closer to the type check macros, to make it easier
to convert the code to OBJECT_DEFINE_TYPE() in the future.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-18-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/hw/pci/pci.h
include/hw/pci/pci_bus.h