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

Reply via email to