[PATCH 0/5] constify videobuf_queue_ops structures

From: Julia Lawall
Date: Fri Aug 04 2017 - 08:35:21 EST


These videobuf_queue_ops structures are only passed as the second
argument to videobuf_queue_vmalloc_init, which is declared as const.
Thus the videobuf_queue_ops structures themselves can be const.

Done with the help of Coccinelle.

---

drivers/media/pci/cx18/cx18-streams.c | 2 +-
drivers/media/usb/cx231xx/cx231xx-417.c | 2 +-
drivers/media/usb/cx231xx/cx231xx-video.c | 2 +-
drivers/media/usb/tm6000/tm6000-video.c | 2 +-
drivers/media/usb/zr364xx/zr364xx.c | 2 +-
drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)