linux/drivers/misc/mic/card
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
..
Makefile
mic_debugfs.c misc: mic: header file cleanups. 2013-09-27 17:20:18 -07:00
mic_device.c misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
mic_device.h misc: mic: MIC card driver specific changes to enable SCIF 2015-05-24 12:13:37 -07:00
mic_virtio.c virtio: make find_vqs() checkpatch.pl-friendly 2016-01-12 20:47:06 +02:00
mic_virtio.h misc: mic: Fix user space namespace pollution from mic_common.h. 2013-11-27 11:03:38 -08:00
mic_x100.c misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
mic_x100.h misc: mic: MIC card driver specific changes to enable SCIF 2015-05-24 12:13:37 -07:00