aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/lm32_pic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/lm32_pic.c')
-rw-r--r--hw/intc/lm32_pic.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/intc/lm32_pic.c b/hw/intc/lm32_pic.c
index e8b4015efd..0c48a9cd85 100644
--- a/hw/intc/lm32_pic.c
+++ b/hw/intc/lm32_pic.c
@@ -30,9 +30,7 @@
#include "qom/object.h"
#define TYPE_LM32_PIC "lm32-pic"
-typedef struct LM32PicState LM32PicState;
-DECLARE_INSTANCE_CHECKER(LM32PicState, LM32_PIC,
- TYPE_LM32_PIC)
+OBJECT_DECLARE_SIMPLE_TYPE(LM32PicState, LM32_PIC)
struct LM32PicState {
SysBusDevice parent_obj;