diff options
author | Eduardo Habkost | 2020-08-26 20:43:28 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-08-27 20:21:48 +0200 |
commit | 04d8dbb102684808e5b670bb6fc26d1b4f2ed5dd (patch) | |
tree | dfe58775d2bfcafc9cc3a528a3bccdbf34dd6d2e /hw/intc/nios2_iic.c | |
parent | etsec: Use TYPE_ETSEC_COMMON constant (diff) | |
download | qemu-04d8dbb102684808e5b670bb6fc26d1b4f2ed5dd.tar.gz qemu-04d8dbb102684808e5b670bb6fc26d1b4f2ed5dd.tar.xz qemu-04d8dbb102684808e5b670bb6fc26d1b4f2ed5dd.zip |
nios2_iic: Use TYPE_ALTERA_IIC constant
This will make future conversion to use OBJECT_DECLARE* easier.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200826184334.4120620-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/intc/nios2_iic.c')
-rw-r--r-- | hw/intc/nios2_iic.c | 2 |
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, |