]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/misc/sga.c
Move QOM typedefs and add missing includes
[mirror_qemu.git] / hw / misc / sga.c
index 6866bf72cb7c5ebea51a1a07b036b5cb05715899..e5cc2da3d3096d12769752891adcc93881a35e96 100644 (file)
 #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)
 {