From f7d82e9bcdac9e22ffaab105a7598dda1ba501fc Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Wed, 26 Aug 2020 14:43:27 -0400 Subject: etsec: Use TYPE_ETSEC_COMMON constant This will make future conversion to use OBJECT_DECLARE* easier. Signed-off-by: Eduardo Habkost Acked-by: David Gibson Reviewed-by: Li Qiang Message-Id: <20200826184334.4120620-2-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost --- hw/net/fsl_etsec/etsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3