scripts: fix error from checkpatch.pl when no commits are found
[qemu/ar7.git] / hw / display / virtio-vga.h
blob977ad5edc2934e0e03ed3ae9ab82369ff7c9a64c
1 #ifndef VIRTIO_VGA_H
2 #define VIRTIO_VGA_H
4 #include "hw/virtio/virtio-gpu-pci.h"
5 #include "vga_int.h"
6 #include "qom/object.h"
8 /*
9 * virtio-vga-base: This extends VirtioPCIProxy.
11 #define TYPE_VIRTIO_VGA_BASE "virtio-vga-base"
12 OBJECT_DECLARE_TYPE(VirtIOVGABase, VirtIOVGABaseClass,
13 VIRTIO_VGA_BASE)
15 struct VirtIOVGABase {
16 VirtIOPCIProxy parent_obj;
18 VirtIOGPUBase *vgpu;
19 VGACommonState vga;
20 MemoryRegion vga_mrs[3];
23 struct VirtIOVGABaseClass {
24 VirtioPCIClass parent_class;
26 DeviceReset parent_reset;
29 #endif /* VIRTIO_VGA_H */