qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/8] tosa: Use TYPE_TOSA_MISC_GPIO constant


From: Li Qiang
Subject: Re: [PATCH 6/8] tosa: Use TYPE_TOSA_MISC_GPIO constant
Date: Thu, 27 Aug 2020 09:32:06 +0800

Eduardo Habkost <ehabkost@redhat.com> 于2020年8月27日周四 上午2:50写道:
>
> 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>

> ---
> Cc: Andrzej Zaborowski <balrogg@gmail.com>
> Cc: Peter Maydell <peter.maydell@linaro.org>
> Cc: qemu-arm@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
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]