Re: [PATCH 17/41] pci: Move PCIBusClass typedef to pci.h

2020-08-17 Thread Daniel P . Berrangé
On Thu, Aug 13, 2020 at 06:26:01PM -0400, Eduardo Habkost wrote: > Move typedef closer to the type check macros, to make it easier > to convert the code to OBJECT_DEFINE_TYPE() in the future. > > Signed-off-by: Eduardo Habkost > --- > include/hw/pci/pci.h | 1 + > include/hw/pci/pci_bus.h |

[PATCH 17/41] pci: Move PCIBusClass typedef to pci.h

2020-08-13 Thread Eduardo Habkost
Move typedef closer to the type check macros, to make it easier to convert the code to OBJECT_DEFINE_TYPE() in the future. Signed-off-by: Eduardo Habkost --- include/hw/pci/pci.h | 1 + include/hw/pci/pci_bus.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/