aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/unimp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/unimp.h')
-rw-r--r--include/hw/misc/unimp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/misc/unimp.h b/include/hw/misc/unimp.h
index 6c04c8a..7c724ba 100644
--- a/include/hw/misc/unimp.h
+++ b/include/hw/misc/unimp.h
@@ -16,8 +16,8 @@
#define TYPE_UNIMPLEMENTED_DEVICE "unimplemented-device"
typedef struct UnimplementedDeviceState UnimplementedDeviceState;
-#define UNIMPLEMENTED_DEVICE(obj) \
- OBJECT_CHECK(UnimplementedDeviceState, (obj), TYPE_UNIMPLEMENTED_DEVICE)
+DECLARE_INSTANCE_CHECKER(UnimplementedDeviceState, UNIMPLEMENTED_DEVICE,
+ TYPE_UNIMPLEMENTED_DEVICE)
struct UnimplementedDeviceState {
SysBusDevice parent_obj;