aboutsummaryrefslogtreecommitdiff
path: root/hw/bitbang_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/bitbang_i2c.c')
-rw-r--r--hw/bitbang_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bitbang_i2c.c b/hw/bitbang_i2c.c
index 44ed7f4d61..114508fade 100644
--- a/hw/bitbang_i2c.c
+++ b/hw/bitbang_i2c.c
@@ -230,7 +230,7 @@ static void gpio_i2c_class_init(ObjectClass *klass, void *data)
dc->desc = "Virtual GPIO to I2C bridge";
}
-static TypeInfo gpio_i2c_info = {
+static const TypeInfo gpio_i2c_info = {
.name = "gpio_i2c",
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(GPIOI2CState),