qemu-devel
[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 <[email protected]> 于2020年8月27日周四 上午2:50写道:
>
> This will make future conversion to use OBJECT_DECLARE* easier.
>
> Signed-off-by: Eduardo Habkost <[email protected]>

Reviewed-by: Li Qiang <[email protected]>

> ---
> Cc: Andrzej Zaborowski <[email protected]>
> Cc: Peter Maydell <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> ---
>  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]