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:
Gerd Hoffmann 2019-03-07 09:02:44 +01:00
parent 3912e66a3f
commit 0be00346d1
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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,