mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
hw/usb/uhci: Declare QOM macros using OBJECT_DECLARE_TYPE()
The automatic conversion done during commit a489d1951c
("Use OBJECT_DECLARE_TYPE when possible") missed this
model because the typedefs are in a different file unit
(hcd-uhci.c) than where the DECLARE_INSTANCE_CHECKER()
is (hcd-uhci.h). Manually convert to OBJECT_DECLARE_TYPE().
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220150515.32549-5-philmd@linaro.org>
This commit is contained in:
parent
380194624a
commit
ef177ee122
2 changed files with 1 additions and 3 deletions
|
@ -60,9 +60,7 @@ enum {
|
|||
TD_RESULT_ASYNC_CONT,
|
||||
};
|
||||
|
||||
typedef struct UHCIState UHCIState;
|
||||
typedef struct UHCIAsync UHCIAsync;
|
||||
typedef struct UHCIPCIDeviceClass UHCIPCIDeviceClass;
|
||||
|
||||
struct UHCIPCIDeviceClass {
|
||||
PCIDeviceClass parent_class;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue