]> git.proxmox.com Git - mirror_qemu.git/commitdiff
virtio-gpu: make virtio_gpu_reset static
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 7 Mar 2019 08:02:44 +0000 (09:02 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 11 Mar 2019 07:04:12 +0000 (08:04 +0100)
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

hw/display/virtio-gpu.c
include/hw/virtio/virtio-gpu.h

index a3627f58a9dd537eee604b23956693c05dea7d92..4dbf48e42482bf71a2ffae7dc2079abf1b5e63ee 100644 (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;
index 98504f907583085bf732a6c89676d1b80df40094..ce0ca7217175cc842d6754088493c40364865528 100644 (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,