lpc_ich9: Use typedef name for instance_size
This makes the code consistent with the rest of QOM code in QEMU, and will make automated conversion to type declaration macros simpler. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20200824215936.2961951-4-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
59b9fbe9c5
commit
0fc8289a26
@ -792,7 +792,7 @@ static void ich9_lpc_class_init(ObjectClass *klass, void *data)
|
|||||||
static const TypeInfo ich9_lpc_info = {
|
static const TypeInfo ich9_lpc_info = {
|
||||||
.name = TYPE_ICH9_LPC_DEVICE,
|
.name = TYPE_ICH9_LPC_DEVICE,
|
||||||
.parent = TYPE_PCI_DEVICE,
|
.parent = TYPE_PCI_DEVICE,
|
||||||
.instance_size = sizeof(struct ICH9LPCState),
|
.instance_size = sizeof(ICH9LPCState),
|
||||||
.instance_init = ich9_lpc_initfn,
|
.instance_init = ich9_lpc_initfn,
|
||||||
.class_init = ich9_lpc_class_init,
|
.class_init = ich9_lpc_class_init,
|
||||||
.interfaces = (InterfaceInfo[]) {
|
.interfaces = (InterfaceInfo[]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user