mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] constify media platform_device_id
@ 2017-08-15 11:23 Arvind Yadav
  2017-08-15 11:23 ` [PATCH 1/3] [media] coda: constify platform_device_id Arvind Yadav
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Arvind Yadav @ 2017-08-15 11:23 UTC (permalink / raw)
  To: p.zabel, mchehab, prabhakar.csengg, laurent.pinchart
  Cc: linux-kernel, linux-media

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

Arvind Yadav (3):
  [PATCH 1/3] [media] coda: constify platform_device_id
  [PATCH 2/3] [media] davinci: constify platform_device_id
  [PATCH 3/3] [media] omap3isp: constify platform_device_id

 drivers/media/platform/coda/coda-common.c  | 2 +-
 drivers/media/platform/davinci/vpbe_osd.c  | 2 +-
 drivers/media/platform/davinci/vpbe_venc.c | 2 +-
 drivers/media/platform/omap3isp/isp.c      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-08-17 13:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-15 11:23 [PATCH 0/3] constify media platform_device_id Arvind Yadav
2017-08-15 11:23 ` [PATCH 1/3] [media] coda: constify platform_device_id Arvind Yadav
2017-08-15 11:35   ` Philipp Zabel
2017-08-15 11:23 ` [PATCH 2/3] [media] davinci: " Arvind Yadav
2017-08-17 13:17   ` Lad, Prabhakar
2017-08-15 11:23 ` [PATCH 3/3] [media] omap3isp: " Arvind Yadav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®