diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-26 14:43:32 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-27 14:21:48 -0400 |
commit | c58a7deff8a973f5f7c1d4f9e6a125f6b4c3c4f8 (patch) | |
tree | 38af958a2cce101167489d7e298e7aa23366b444 /hw/arm | |
parent | 0b43132f3067430687b7dbd7d0c2256fe6471ea2 (diff) |
tosa: Use TYPE_TOSA_MISC_GPIO constant
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>
Message-Id: <20200826184334.4120620-7-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/arm')
-rw-r--r-- | hw/arm/tosa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |