diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-11-11 17:37:59 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-11-11 17:36:19 +0300 |
commit | 00c2275c95edb3c355fce7e1128bdef845b9fe34 (patch) | |
tree | 48f7b07746be8cca3dc9b06e1af8a76dc8f9d3b0 /include/hw/sysbus.h | |
parent | 8f9d989cac7bd92fb976d65d0aada2d4c6d8ecf9 (diff) |
sysbus: Correct SYSTEM_BUS(obj) defines
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/hw/sysbus.h')
-rw-r--r-- | include/hw/sysbus.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |