]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commitdiff
icc_bus: fix typo ICC_BRIGDE -> ICC_BRIDGE
authorZhu Guihua <zhugh.fnst@cn.fujitsu.com>
Mon, 3 Nov 2014 05:51:34 +0000 (13:51 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 3 Nov 2014 16:51:56 +0000 (19:51 +0300)
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>
hw/cpu/icc_bus.c

index 9575fd6a422350e3e503e8e1e73c5c3119ec0a41..6646ea2b34d46144f688429687a92f2fd754607b 100644 (file)
@@ -73,11 +73,11 @@ typedef struct ICCBridgeState {
     MemoryRegion apic_container;
 } 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)
 {
-    ICCBridgeState *s = ICC_BRIGDE(obj);
+    ICCBridgeState *s = ICC_BRIDGE(obj);
     SysBusDevice *sb = SYS_BUS_DEVICE(obj);
 
     qbus_create_inplace(&s->icc_bus, sizeof(s->icc_bus), TYPE_ICC_BUS,