[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
>
>
- [PATCH 5/8] xlnx-zcu102: Use TYPE_ZCU102_MACHINE constant, (continued)
- [PATCH 5/8] xlnx-zcu102: Use TYPE_ZCU102_MACHINE constant, Eduardo Habkost, 2020/08/26
- [PATCH 7/8] ppce500: Use TYPE_PPC_E500_PCI_BRIDGE constant, Eduardo Habkost, 2020/08/26
- [PATCH 8/8] dc390: Use TYPE_DC390_DEVICE constant, Eduardo Habkost, 2020/08/26
- [PATCH 6/8] tosa: Use TYPE_TOSA_MISC_GPIO constant, Eduardo Habkost, 2020/08/26
- Re: [PATCH 6/8] tosa: Use TYPE_TOSA_MISC_GPIO constant,
Li Qiang <=
- Re: [PATCH 0/8] qom: Use TYPE_* constants, Eduardo Habkost, 2020/08/27