aboutsummaryrefslogtreecommitdiff
path: root/include/hw/char/digic-uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/char/digic-uart.h')
-rw-r--r--include/hw/char/digic-uart.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/char/digic-uart.h b/include/hw/char/digic-uart.h
index 01d4068..f710a1a 100644
--- a/include/hw/char/digic-uart.h
+++ b/include/hw/char/digic-uart.h
@@ -23,9 +23,7 @@
#include "qom/object.h"
#define TYPE_DIGIC_UART "digic-uart"
-typedef struct DigicUartState DigicUartState;
-DECLARE_INSTANCE_CHECKER(DigicUartState, DIGIC_UART,
- TYPE_DIGIC_UART)
+OBJECT_DECLARE_SIMPLE_TYPE(DigicUartState, DIGIC_UART)
enum {
R_TX = 0x00,