linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] constify media usb_device_id
@ 2017-08-13  8:54 Arvind Yadav
  2017-08-13  8:54 ` [PATCH 1/3] [media] usb: constify usb_device_id Arvind Yadav
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Arvind Yadav @ 2017-08-13  8:54 UTC (permalink / raw)
  To: crope, mchehab, ezequiel, laurent.pinchart, royale, sean,
	klimov.linux, hverkuil
  Cc: linux-media, linux-kernel

usb_device_id are not supposed to change at runtime. All functions
working with usb_device_id provided by <linux/usb.h> work with
const usb_device_id. So mark the non-const structs as const.

Arvind Yadav (3):
  [PATCH 1/3] [media] usb: constify usb_device_id
  [PATCH 2/3] [media] rc: constify usb_device_id
  [PATCH 3/3] [media] radio: constify usb_device_id

 drivers/media/radio/dsbr100.c                     | 2 +-
 drivers/media/radio/radio-keene.c                 | 2 +-
 drivers/media/radio/radio-ma901.c                 | 2 +-
 drivers/media/radio/radio-mr800.c                 | 2 +-
 drivers/media/radio/radio-raremono.c              | 2 +-
 drivers/media/radio/radio-shark.c                 | 2 +-
 drivers/media/radio/radio-shark2.c                | 2 +-
 drivers/media/radio/si470x/radio-si470x-usb.c     | 2 +-
 drivers/media/radio/si4713/radio-usb-si4713.c     | 2 +-
 drivers/media/rc/ati_remote.c                     | 2 +-
 drivers/media/rc/igorplugusb.c                    | 2 +-
 drivers/media/rc/imon.c                           | 2 +-
 drivers/media/rc/mceusb.c                         | 2 +-
 drivers/media/rc/redrat3.c                        | 2 +-
 drivers/media/rc/streamzap.c                      | 2 +-
 drivers/media/usb/airspy/airspy.c                 | 2 +-
 drivers/media/usb/as102/as102_usb_drv.c           | 2 +-
 drivers/media/usb/b2c2/flexcop-usb.c              | 2 +-
 drivers/media/usb/cpia2/cpia2_usb.c               | 2 +-
 drivers/media/usb/dvb-usb-v2/az6007.c             | 2 +-
 drivers/media/usb/hackrf/hackrf.c                 | 2 +-
 drivers/media/usb/hdpvr/hdpvr-core.c              | 2 +-
 drivers/media/usb/msi2500/msi2500.c               | 2 +-
 drivers/media/usb/s2255/s2255drv.c                | 2 +-
 drivers/media/usb/stk1160/stk1160-core.c          | 2 +-
 drivers/media/usb/stkwebcam/stk-webcam.c          | 2 +-
 drivers/media/usb/tm6000/tm6000-cards.c           | 2 +-
 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c | 2 +-
 drivers/media/usb/ttusb-dec/ttusb_dec.c           | 2 +-
 drivers/media/usb/usbtv/usbtv-core.c              | 2 +-
 drivers/media/usb/uvc/uvc_driver.c                | 2 +-
 drivers/media/usb/zr364xx/zr364xx.c               | 2 +-
 32 files changed, 32 insertions(+), 32 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-08-21 10:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-13  8:54 [PATCH 0/3] constify media usb_device_id Arvind Yadav
2017-08-13  8:54 ` [PATCH 1/3] [media] usb: constify usb_device_id Arvind Yadav
2017-08-13 12:23   ` Laurent Pinchart
2017-08-13  8:54 ` [PATCH 2/3] [media] rc: " Arvind Yadav
2017-08-15 11:45   ` Sean Young
2017-08-13  8:54 ` [PATCH 3/3] [media] radio: " Arvind Yadav
2017-08-21 10:03   ` Alexey Klimov

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).