From 00c2275c95edb3c355fce7e1128bdef845b9fe34 Mon Sep 17 00:00:00 2001 From: Gonglei Date: Tue, 11 Nov 2014 17:37:59 +0800 Subject: [PATCH] sysbus: Correct SYSTEM_BUS(obj) defines Signed-off-by: Gonglei Reviewed-by: Markus Armbruster Signed-off-by: Michael Tokarev --- include/hw/sysbus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/sysbus.h b/include/hw/sysbus.h index 9fb1782d7b..9bddfdec42 100644 --- a/include/hw/sysbus.h +++ b/include/hw/sysbus.h @@ -10,7 +10,7 @@ #define QDEV_MAX_PIO 32 #define TYPE_SYSTEM_BUS "System" -#define SYSTEM_BUS(obj) OBJECT_CHECK(IDEBus, (obj), TYPE_IDE_BUS) +#define SYSTEM_BUS(obj) OBJECT_CHECK(BusState, (obj), TYPE_SYSTEM_BUS) typedef struct SysBusDevice SysBusDevice; -- 2.11.4.GIT