diff options
Diffstat (limited to 'hw/gpio/max7310.c')
-rw-r--r-- | hw/gpio/max7310.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/gpio/max7310.c b/hw/gpio/max7310.c index 2888d07..256d833 100644 --- a/hw/gpio/max7310.c +++ b/hw/gpio/max7310.c @@ -18,9 +18,7 @@ #include "qom/object.h" #define TYPE_MAX7310 "max7310" -typedef struct MAX7310State MAX7310State; -DECLARE_INSTANCE_CHECKER(MAX7310State, MAX7310, - TYPE_MAX7310) +OBJECT_DECLARE_SIMPLE_TYPE(MAX7310State, MAX7310) struct MAX7310State { I2CSlave parent_obj; |