diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-01-06 13:58:32 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-27 22:29:02 +0100 |
commit | ef177ee12281b4bdfc5950bbaa8b3a6ff71331cc (patch) | |
tree | 1037986e000ab1a13e71e76a9ede013f82b6b317 /hw/usb/hcd-uhci.c | |
parent | 380194624af8a740d3afa6fca8bae8f91d88ace0 (diff) | |
download | qemu-ef177ee12281b4bdfc5950bbaa8b3a6ff71331cc.zip qemu-ef177ee12281b4bdfc5950bbaa8b3a6ff71331cc.tar.gz qemu-ef177ee12281b4bdfc5950bbaa8b3a6ff71331cc.tar.bz2 |
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>
Diffstat (limited to 'hw/usb/hcd-uhci.c')
-rw-r--r-- | hw/usb/hcd-uhci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 30ae010..f77ffda 100644 --- a/hw/usb/hcd-uhci.c +++ b/hw/usb/hcd-uhci.c @@ -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; |