linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] constify videobuf_queue_ops structures
@ 2017-08-22 12:56 Arvind Yadav
  2017-08-22 12:56 ` [PATCH 1/4] [media] saa7146: " Arvind Yadav
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Arvind Yadav @ 2017-08-22 12:56 UTC (permalink / raw)
  To: hverkuil, mchehab, awalls, prabhakar.csengg, royale
  Cc: linux-kernel, linux-media, linux-usb

videobuf_queue_ops are not supposed to change at runtime. All functions
working with videobuf_queue_ops provided by <media/videobuf-core.h> work
with const videobuf_queue_ops. So mark the non-const structs as const.

Arvind Yadav (4):
  [PATCH 1/4] [media] saa7146: constify videobuf_queue_ops structures
  [PATCH 2/4] [media] pci: constify videobuf_queue_ops structures
  [PATCH 3/4] [media] platform: constify videobuf_queue_ops structures
  [PATCH 4/4] [media] usb: constify videobuf_queue_ops structures

 drivers/media/common/saa7146/saa7146_vbi.c    | 2 +-
 drivers/media/common/saa7146/saa7146_video.c  | 2 +-
 drivers/media/pci/bt8xx/bttv-driver.c         | 2 +-
 drivers/media/pci/cx18/cx18-streams.c         | 2 +-
 drivers/media/platform/davinci/vpfe_capture.c | 2 +-
 drivers/media/platform/fsl-viu.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 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-22 12:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-22 12:56 [PATCH 0/4] constify videobuf_queue_ops structures Arvind Yadav
2017-08-22 12:56 ` [PATCH 1/4] [media] saa7146: " Arvind Yadav
2017-08-22 12:56 ` [PATCH 2/4] [media] pci: " Arvind Yadav
2017-08-22 12:56 ` [PATCH 3/4] [media] platform: " Arvind Yadav
2017-08-22 12:56 ` [PATCH 4/4] [media] usb: " Arvind Yadav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).