summary refs log tree commit diff stats
path: root/include/hw/gpio/aspeed_gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/gpio/aspeed_gpio.h')
-rw-r--r--include/hw/gpio/aspeed_gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/gpio/aspeed_gpio.h b/include/hw/gpio/aspeed_gpio.h
index e1e6c54333..e6b2fe71b5 100644
--- a/include/hw/gpio/aspeed_gpio.h
+++ b/include/hw/gpio/aspeed_gpio.h
@@ -70,7 +70,7 @@ typedef struct AspeedGPIOReg {
 } AspeedGPIOReg;
 
 struct AspeedGPIOClass {
-    SysBusDevice parent_obj;
+    SysBusDeviceClass parent_class;
     const GPIOSetProperties *props;
     uint32_t nr_gpio_pins;
     uint32_t nr_gpio_sets;