summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorEduardo Habkost2020-08-26 20:43:27 +0200
committerEduardo Habkost2020-08-27 20:21:48 +0200
commitf7d82e9bcdac9e22ffaab105a7598dda1ba501fc (patch)
tree1df3d3df5f8d7866805eed6b843443b6fd8bae02 /hw
parentmigration: Rename class type checking macros (diff)
downloadqemu-f7d82e9bcdac9e22ffaab105a7598dda1ba501fc.tar.gz
qemu-f7d82e9bcdac9e22ffaab105a7598dda1ba501fc.tar.xz
qemu-f7d82e9bcdac9e22ffaab105a7598dda1ba501fc.zip
etsec: Use TYPE_ETSEC_COMMON constant
This will make future conversion to use OBJECT_DECLARE* easier. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Li Qiang <liq3ea@gmail.com> Message-Id: <20200826184334.4120620-2-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/net/fsl_etsec/etsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/fsl_etsec/etsec.c b/hw/net/fsl_etsec/etsec.c
index 7035cf4eb9..ad20b22cdd 100644
--- a/hw/net/fsl_etsec/etsec.c
+++ b/hw/net/fsl_etsec/etsec.c
@@ -430,7 +430,7 @@ static void etsec_class_init(ObjectClass *klass, void *data)
}
static TypeInfo etsec_info = {
- .name = "eTSEC",
+ .name = TYPE_ETSEC_COMMON,
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(eTSEC),
.class_init = etsec_class_init,