diff options
Diffstat (limited to 'hw/smbus.c')
-rw-r--r-- | hw/smbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -318,7 +318,7 @@ static void smbus_device_class_init(ObjectClass *klass, void *data) sc->send = smbus_i2c_send; } -static TypeInfo smbus_device_type_info = { +static const TypeInfo smbus_device_type_info = { .name = TYPE_SMBUS_DEVICE, .parent = TYPE_I2C_SLAVE, .instance_size = sizeof(SMBusDevice), |