summary refs log tree commit diff stats
path: root/include/hw/isa/superio.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-14 12:48:15 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-27 22:29:01 +0100
commit97cfb5e430f95b58c09a9da21b60196f32475beb (patch)
tree52944b2a6da385718aae5b3a52004eee58ba900d /include/hw/isa/superio.h
parenteba245659bfef2f325538c94f6c682f69d582fcf (diff)
downloadfocaccia-qemu-97cfb5e430f95b58c09a9da21b60196f32475beb.tar.gz
focaccia-qemu-97cfb5e430f95b58c09a9da21b60196f32475beb.zip
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>
Diffstat (limited to 'include/hw/isa/superio.h')
-rw-r--r--include/hw/isa/superio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/isa/superio.h b/include/hw/isa/superio.h
index b9f5c19155..0dc45104d4 100644
--- a/include/hw/isa/superio.h
+++ b/include/hw/isa/superio.h
@@ -44,7 +44,7 @@ typedef struct ISASuperIOFuncs {
 
 struct ISASuperIOClass {
     /*< private >*/
-    ISADeviceClass parent_class;
+    DeviceClass parent_class;
     /*< public >*/
     DeviceRealize parent_realize;