On 4/10/26 12:24, Marc-André Lureau wrote:
The .class_init field was set twice in the TypeInfo struct.
Reported-by: Pavee Hui <[email protected]>
Signed-off-by: Marc-André Lureau <[email protected]>
Fixes: 475a4d463b2 ("pl050: introduce PL050DeviceClass")
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
---
hw/input/pl050.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/input/pl050.c b/hw/input/pl050.c
index 48df2734e269..3731e6969850 100644
--- a/hw/input/pl050.c
+++ b/hw/input/pl050.c
@@ -265,7 +265,6 @@ static const TypeInfo pl050_type_info = {
.class_init = pl050_class_init,
.class_size = sizeof(PL050DeviceClass),
.abstract = true,
- .class_init = pl050_class_init,
};
static void pl050_register_types(void)