diff options
Diffstat (limited to 'include/hw/register.h')
-rw-r--r-- | include/hw/register.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/register.h b/include/hw/register.h index 29c669e901..03c8926d27 100644 --- a/include/hw/register.h +++ b/include/hw/register.h @@ -88,7 +88,8 @@ struct RegisterInfo { }; #define TYPE_REGISTER "qemu,register" -#define REGISTER(obj) OBJECT_CHECK(RegisterInfo, (obj), TYPE_REGISTER) +DECLARE_INSTANCE_CHECKER(RegisterInfo, REGISTER, + TYPE_REGISTER) /** * This structure is used to group all of the individual registers which are |