[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 5/5] virtio-gpu: make virtio_gpu_reset static
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 5/5] virtio-gpu: make virtio_gpu_reset static |
Date: |
Fri, 8 Mar 2019 13:39:37 +0100 |
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
---
include/hw/virtio/virtio-gpu.h | 1 -
hw/display/virtio-gpu.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h
index 98504f907583..ce0ca7217175 100644
--- a/include/hw/virtio/virtio-gpu.h
+++ b/include/hw/virtio/virtio-gpu.h
@@ -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,
diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c
index a3627f58a9dd..4dbf48e42482 100644
--- a/hw/display/virtio-gpu.c
+++ b/hw/display/virtio-gpu.c
@@ -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;
--
2.18.1
- [Qemu-devel] [PULL 0/5] Vga 20190308 patches, Gerd Hoffmann, 2019/03/08
- [Qemu-devel] [PULL 3/5] virtio: add class_size to VirtioPCIDeviceTypeInfo, Gerd Hoffmann, 2019/03/08
- [Qemu-devel] [PULL 5/5] virtio-gpu: make virtio_gpu_reset static,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 4/5] virtio-vga: fix reset., Gerd Hoffmann, 2019/03/08
- [Qemu-devel] [PULL 2/5] mips_fulong2e: Add on-board graphics chip, Gerd Hoffmann, 2019/03/08
- [Qemu-devel] [PULL 1/5] hw/display: Add basic ATI VGA emulation, Gerd Hoffmann, 2019/03/08
- Re: [Qemu-devel] [PULL 0/5] Vga 20190308 patches, Peter Maydell, 2019/03/09