mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
include/hw/cxl: Move typedef PXBDev to cxl.h, and put it to use
hw/cxl/cxl.h uses the PXBDev structure tag instead of the typedef name. The typedef name is defined in hw/pci/pci_bridge.h. Its inclusion was dropped in the previous commit to break an inclusion loop. Move the typedef to hw/cxl/cxl.h, and use it there. Delete an extra typedef in hw/pci-bridge/pci_expander_bridge.c. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20221222100330.380143-3-armbru@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
674b0a5784
commit
65c326ce51
3 changed files with 3 additions and 3 deletions
|
@ -97,7 +97,6 @@ struct PXBDev {
|
|||
} cxl;
|
||||
};
|
||||
|
||||
typedef struct PXBDev PXBDev;
|
||||
#define TYPE_PXB_CXL_DEVICE "pxb-cxl"
|
||||
DECLARE_INSTANCE_CHECKER(PXBDev, PXB_CXL_DEV,
|
||||
TYPE_PXB_CXL_DEVICE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue