]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/i386/port92.c
Move QOM typedefs and add missing includes
[thirdparty/qemu.git] / hw / i386 / port92.c
index 19866c44efa064d4d29148072cd05312f2dfb450..48200def5d2d8904aca8d6d8b09a229d9691e9ad 100644 (file)
 #include "hw/irq.h"
 #include "hw/i386/pc.h"
 #include "trace.h"
+#include "qom/object.h"
 
+typedef struct Port92State Port92State;
 #define PORT92(obj) OBJECT_CHECK(Port92State, (obj), TYPE_PORT92)
 
-typedef struct Port92State {
+struct Port92State {
     ISADevice parent_obj;
 
     MemoryRegion io;
     uint8_t outport;
     qemu_irq a20_out;
-} Port92State;
+};
 
 static void port92_write(void *opaque, hwaddr addr, uint64_t val,
                          unsigned size)