linux/drivers/remoteproc
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
..
da8xx_remoteproc.c remoteproc/davinci: fix quoted split string checkpatch warning 2015-05-02 11:04:56 +03:00
Kconfig remoteproc/wkup_m3: add a remoteproc driver for TI Wakeup M3 2015-06-17 09:58:08 +03:00
Makefile remoteproc/wkup_m3: add a remoteproc driver for TI Wakeup M3 2015-06-17 09:58:08 +03:00
omap_remoteproc.c
omap_remoteproc.h
remoteproc_core.c remoteproc: fix memory leak of remoteproc ida cache layers 2015-11-26 17:44:28 +02:00
remoteproc_debugfs.c remoteproc: avoid stack overflow in debugfs file 2015-11-26 10:07:53 +02:00
remoteproc_elf_loader.c
remoteproc_internal.h remoteproc: fix various checkpatch warnings 2015-05-02 11:07:34 +03:00
remoteproc_virtio.c virtio: make find_vqs() checkpatch.pl-friendly 2016-01-12 20:47:06 +02:00
ste_modem_rproc.c remoteproc/ste: add blank lines after declarations 2015-05-02 11:03:07 +03:00
wkup_m3_rproc.c remoteproc/wkup_m3: add a remoteproc driver for TI Wakeup M3 2015-06-17 09:58:08 +03:00