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>
This commit is contained in:
parent
0b43132f30
commit
c58a7deff8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user