[PATCH 0/5] constify videobuf_queue_ops structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux