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>
Esse commit está contido em:

commit de
Mauro Carvalho Chehab

pai
1e6be01446
commit
0cba3f438c
@@ -1000,7 +1000,7 @@ static int isif_close(struct device *device)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct ccdc_hw_device isif_hw_dev = {
|
||||
static const struct ccdc_hw_device isif_hw_dev = {
|
||||
.name = "ISIF",
|
||||
.owner = THIS_MODULE,
|
||||
.hw_ops = {
|
||||
|
Referência em uma nova issue
Block a user