media: davinci: constify platform_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 15 Aug 2017 11:23:41 +0000 (07:23 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:24:45 +0000 (08:24 -0400)
commit44ce8fc4764294db148819830803e440deb5e1a3
treebaf378f05d46ff979e4801daf6f17c9939999843
parent89ac34aaf5e6347638146f46c7e9f78c951938a8
media: davinci: constify platform_device_id

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.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpbe_osd.c
drivers/media/platform/davinci/vpbe_venc.c