summaryrefslogtreecommitdiffstats
path: root/include/hw/xen/xen-legacy-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/xen/xen-legacy-backend.h')
-rw-r--r--include/hw/xen/xen-legacy-backend.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/xen/xen-legacy-backend.h b/include/hw/xen/xen-legacy-backend.h
index 89b51e05fc..ba7a3c59bb 100644
--- a/include/hw/xen/xen-legacy-backend.h
+++ b/include/hw/xen/xen-legacy-backend.h
@@ -11,8 +11,8 @@
#define TYPE_XENBACKEND "xen-backend"
typedef struct XenLegacyDevice XenLegacyDevice;
-#define XENBACKEND_DEVICE(obj) \
- OBJECT_CHECK(XenLegacyDevice, (obj), TYPE_XENBACKEND)
+DECLARE_INSTANCE_CHECKER(XenLegacyDevice, XENBACKEND_DEVICE,
+ TYPE_XENBACKEND)
/* variables */
extern struct xs_handle *xenstore;