diff options
Diffstat (limited to 'hw/misc/pca9552.c')
-rw-r--r-- | hw/misc/pca9552.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/misc/pca9552.c b/hw/misc/pca9552.c index e4ccdeaf78..9cd51b1afd 100644 --- a/hw/misc/pca9552.c +++ b/hw/misc/pca9552.c @@ -22,15 +22,17 @@ #include "qapi/error.h" #include "qapi/visitor.h" #include "trace.h" +#include "qom/object.h" -typedef struct PCA955xClass { +struct PCA955xClass { /*< private >*/ I2CSlaveClass parent_class; /*< public >*/ uint8_t pin_count; uint8_t max_reg; -} PCA955xClass; +}; +typedef struct PCA955xClass PCA955xClass; #define PCA955X_CLASS(klass) \ OBJECT_CLASS_CHECK(PCA955xClass, (klass), TYPE_PCA955X) |