aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/nios2_iic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/nios2_iic.c')
-rw-r--r--hw/intc/nios2_iic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/nios2_iic.c b/hw/intc/nios2_iic.c
index 1a5df8c89a..86d088f9b5 100644
--- a/hw/intc/nios2_iic.c
+++ b/hw/intc/nios2_iic.c
@@ -80,7 +80,7 @@ static void altera_iic_class_init(ObjectClass *klass, void *data)
}
static TypeInfo altera_iic_info = {
- .name = "altera,iic",
+ .name = TYPE_ALTERA_IIC,
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(AlteraIIC),
.instance_init = altera_iic_init,