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, 2 insertions, 2 deletions
diff --git a/include/hw/char/digic-uart.h b/include/hw/char/digic-uart.h
index 7c6ec2a5c5..01d406833d 100644
--- a/include/hw/char/digic-uart.h
+++ b/include/hw/char/digic-uart.h
@@ -24,8 +24,8 @@
#define TYPE_DIGIC_UART "digic-uart"
typedef struct DigicUartState DigicUartState;
-#define DIGIC_UART(obj) \
- OBJECT_CHECK(DigicUartState, (obj), TYPE_DIGIC_UART)
+DECLARE_INSTANCE_CHECKER(DigicUartState, DIGIC_UART,
+ TYPE_DIGIC_UART)
enum {
R_TX = 0x00,