mirror of https://gitee.com/openkylin/qemu.git
virtio-gpu: make virtio_gpu_reset static
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-id: 20190307080244.9011-4-kraxel@redhat.com
This commit is contained in:
parent
3912e66a3f
commit
0be00346d1
|
@ -1346,7 +1346,7 @@ static void virtio_gpu_instance_init(Object *obj)
|
|||
{
|
||||
}
|
||||
|
||||
void virtio_gpu_reset(VirtIODevice *vdev)
|
||||
static void virtio_gpu_reset(VirtIODevice *vdev)
|
||||
{
|
||||
VirtIOGPU *g = VIRTIO_GPU(vdev);
|
||||
struct virtio_gpu_simple_resource *res, *tmp;
|
||||
|
|
|
@ -148,7 +148,6 @@ extern const GraphicHwOps virtio_gpu_ops;
|
|||
} while (0)
|
||||
|
||||
/* virtio-gpu.c */
|
||||
void virtio_gpu_reset(VirtIODevice *vdev);
|
||||
void virtio_gpu_ctrl_response(VirtIOGPU *g,
|
||||
struct virtio_gpu_ctrl_command *cmd,
|
||||
struct virtio_gpu_ctrl_hdr *resp,
|
||||
|
|
Loading…
Reference in New Issue