diff options
Diffstat (limited to 'hw/misc/sga.c')
-rw-r--r-- | hw/misc/sga.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/misc/sga.c b/hw/misc/sga.c index 6866bf72cb..e5cc2da3d3 100644 --- a/hw/misc/sga.c +++ b/hw/misc/sga.c @@ -29,15 +29,17 @@ #include "hw/isa/isa.h" #include "hw/loader.h" #include "qemu/module.h" +#include "qom/object.h" #define SGABIOS_FILENAME "sgabios.bin" #define TYPE_SGA "sga" +typedef struct ISASGAState ISASGAState; #define SGA(obj) OBJECT_CHECK(ISASGAState, (obj), TYPE_SGA) -typedef struct ISASGAState { +struct ISASGAState { ISADevice parent_obj; -} ISASGAState; +}; static void sga_realizefn(DeviceState *dev, Error **errp) { |