Eduardo Habkost <ehabk...@redhat.com> 于2020年8月27日周四 上午2:50写道: > > This will make future conversion to use OBJECT_DECLARE* easier. > > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com>
Reviewed-by: Li Qiang <liq...@gmail.com> > --- > Cc: Andrzej Zaborowski <balr...@gmail.com> > Cc: Peter Maydell <peter.mayd...@linaro.org> > Cc: qemu-...@nongnu.org > Cc: qemu-devel@nongnu.org > --- > hw/arm/tosa.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/arm/tosa.c b/hw/arm/tosa.c > index e29566f7b3..90eef1f14d 100644 > --- a/hw/arm/tosa.c > +++ b/hw/arm/tosa.c > @@ -316,7 +316,7 @@ static const TypeInfo tosa_ssp_info = { > }; > > static const TypeInfo tosa_misc_gpio_info = { > - .name = "tosa-misc-gpio", > + .name = TYPE_TOSA_MISC_GPIO, > .parent = TYPE_SYS_BUS_DEVICE, > .instance_size = sizeof(TosaMiscGPIOState), > .instance_init = tosa_misc_gpio_init, > -- > 2.26.2 > >