aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/avr_power.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/avr_power.h')
-rw-r--r--include/hw/misc/avr_power.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/misc/avr_power.h b/include/hw/misc/avr_power.h
index 938ab3e21b..707df030b1 100644
--- a/include/hw/misc/avr_power.h
+++ b/include/hw/misc/avr_power.h
@@ -31,9 +31,7 @@
#define TYPE_AVR_MASK "avr-power"
-typedef struct AVRMaskState AVRMaskState;
-DECLARE_INSTANCE_CHECKER(AVRMaskState, AVR_MASK,
- TYPE_AVR_MASK)
+OBJECT_DECLARE_SIMPLE_TYPE(AVRMaskState, AVR_MASK)
struct AVRMaskState {
/* <private> */