mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
icc_bus: fix typo ICC_BRIGDE -> ICC_BRIDGE
Rename ICC_BRIGDE for better readability. Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
7135781f65
commit
3a0614c6c7
1 changed files with 2 additions and 2 deletions
|
@ -73,11 +73,11 @@ typedef struct ICCBridgeState {
|
||||||
MemoryRegion apic_container;
|
MemoryRegion apic_container;
|
||||||
} ICCBridgeState;
|
} ICCBridgeState;
|
||||||
|
|
||||||
#define ICC_BRIGDE(obj) OBJECT_CHECK(ICCBridgeState, (obj), TYPE_ICC_BRIDGE)
|
#define ICC_BRIDGE(obj) OBJECT_CHECK(ICCBridgeState, (obj), TYPE_ICC_BRIDGE)
|
||||||
|
|
||||||
static void icc_bridge_init(Object *obj)
|
static void icc_bridge_init(Object *obj)
|
||||||
{
|
{
|
||||||
ICCBridgeState *s = ICC_BRIGDE(obj);
|
ICCBridgeState *s = ICC_BRIDGE(obj);
|
||||||
SysBusDevice *sb = SYS_BUS_DEVICE(obj);
|
SysBusDevice *sb = SYS_BUS_DEVICE(obj);
|
||||||
|
|
||||||
qbus_create_inplace(&s->icc_bus, sizeof(s->icc_bus), TYPE_ICC_BUS,
|
qbus_create_inplace(&s->icc_bus, sizeof(s->icc_bus), TYPE_ICC_BUS,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue