media: davinci: make function arguments const
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 17 Oct 2017 12:27:24 +0000 (08:27 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 11:18:07 +0000 (07:18 -0400)
commit1e6be014466e07d3ba95b396d0ea64d11ac0a79d
tree82ddf1de040fc7992dc2918bd85f389171de883f
parent1e7126b4a86ad69e870099fb6b922a3b6e29598b
media: davinci: make function arguments const

Make the function arguments of functions vpfe_{register/unregister}_ccdc_device
const as the pointer dev does not modify the fields of the structure
it points to. Also, declare the variable ccdc_dev const as it points to the
same structure as dev but it does not modify the fields as well.

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/ccdc_hw_device.h
drivers/media/platform/davinci/vpfe_capture.c