mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/isa: Remove empty ISADeviceClass structure
ISADeviceClass is an empty class and just increase code complexity. Remove it, directly embedding DeviceClass in classes expanding TYPE_ISA_DEVICE. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Bernhard Beschow <shentey@gmail.com> Message-Id: <20230215161641.32663-19-philmd@linaro.org>
This commit is contained in:
parent
eba245659b
commit
97cfb5e430
6 changed files with 5 additions and 10 deletions
|
@ -58,7 +58,7 @@ struct PITCommonState {
|
|||
};
|
||||
|
||||
struct PITCommonClass {
|
||||
ISADeviceClass parent_class;
|
||||
DeviceClass parent_class;
|
||||
|
||||
void (*set_channel_gate)(PITCommonState *s, PITChannelState *sc, int val);
|
||||
void (*get_channel_info)(PITCommonState *s, PITChannelState *sc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue