linux/drivers/gpu/drm/virtio
Stefan Hajnoczi f7ad26ff95 virtio: make find_vqs() checkpatch.pl-friendly
checkpatch.pl wants arrays of strings declared as follows:

  static const char * const names[] = { "vq-1", "vq-2", "vq-3" };

Currently the find_vqs() function takes a const char *names[] argument
so passing checkpatch.pl's const char * const names[] results in a
compiler error due to losing the second const.

This patch adjusts the find_vqs() prototype and updates all virtio
transports.  This makes it possible for virtio_balloon.c, virtio_input.c,
virtgpu_kms.c, and virtio_rpmsg_bus.c to use the checkpatch.pl-friendly
type.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
2016-01-12 20:47:06 +02:00
..
Kconfig
Makefile virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_debugfs.c drm/virtio: use %llu format string form atomic64_t 2015-10-16 11:36:36 +10:00
virtgpu_display.c virtio-gpu: use no-merge for fill-modes 2015-12-01 10:33:35 +10:00
virtgpu_drm_bus.c Add virtio-vga bits. 2015-06-16 11:22:40 +02:00
virtgpu_drv.c virtio-gpu: mark as a render gpu 2015-10-16 10:44:03 +02:00
virtgpu_drv.h virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_fb.c drm/virtio: Use new drm_fb_helper functions 2015-08-06 14:13:07 +02:00
virtgpu_fence.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2015-11-10 09:33:06 -08:00
virtgpu_gem.c virtio-gpu: add 3d/virgl support 2015-10-16 10:44:02 +02:00
virtgpu_ioctl.c virtio-gpu: mark as a render gpu 2015-10-16 10:44:03 +02:00
virtgpu_kms.c virtio: make find_vqs() checkpatch.pl-friendly 2016-01-12 20:47:06 +02:00
virtgpu_object.c virtio-gpu: don't free things on ttm_bo_init failure 2015-10-16 10:44:01 +02:00
virtgpu_plane.c
virtgpu_prime.c virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_ttm.c virtio-gpu: add 3d/virgl support 2015-10-16 10:44:02 +02:00
virtgpu_vq.c virtio-gpu: add 3d/virgl support 2015-10-16 10:44:02 +02:00