Skip to content

Commit

Permalink
virtio-gpu: make virtio_gpu_reset static
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Message-id: [email protected]
  • Loading branch information
kraxel committed Mar 11, 2019
1 parent 3912e66 commit 0be0034
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion hw/display/virtio-gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion include/hw/virtio/virtio-gpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0be0034

Please sign in to comment.