virtio-gpu: make virtio_gpu_ops static
commit3b593b3fe406c04d34a7e896c364a17b034fcf4f
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 14 Sep 2020 13:42:23 +0000 (14 15:42 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Sep 2020 12:11:49 +0000 (15 14:11 +0200)
tree20d680f9a8c2283c2a196e9dfc956761f0d7043a
parent64f7aece8ea0745c0990f7ba20189341e70f123c
virtio-gpu: make virtio_gpu_ops static

Reference it via ops pointer instead, simliar to the vga one.
Removes hard symbol reference, needed to build virtio-gpu modular.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200914134224.29769-6-kraxel@redhat.com
hw/display/virtio-gpu-base.c
hw/display/virtio-vga.c
include/hw/virtio/virtio-gpu.h