media: davinci: make ccdc_hw_device structures const
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 17 Oct 2017 12:27:25 +0000 (08:27 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 11:19:13 +0000 (07:19 -0400)
commit0cba3f438cd6154621a3b4d66e0875ba213cd7ab
tree7cbc7d3910310630ab58bfce880483aa7038110f
parent1e6be014466e07d3ba95b396d0ea64d11ac0a79d
media: davinci: make ccdc_hw_device structures const

Make these structures const as they are only getting passed to the
functions vpfe_{register/unregister}_ccdc_device having the argument as
const.

Structures found using Coccinelle and changes done by hand.

Signed-off-by: Bhumika Goyal <bhumirks@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/dm355_ccdc.c
drivers/media/platform/davinci/dm644x_ccdc.c
drivers/media/platform/davinci/isif.c