media: DaVinci-VPBE: constify vpbe_dev_ops
vpbe_dev_ops is only copied into the ops field at the end of a vpbe_device structure, so it can be const. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Родитель
d3202d1981
Коммит
b050d46e4a
|
@ -790,7 +790,7 @@ static void vpbe_deinitialize(struct device *dev, struct vpbe_device *vpbe_dev)
|
|||
vpss_enable_clock(VPSS_VPBE_CLOCK, 0);
|
||||
}
|
||||
|
||||
static struct vpbe_device_ops vpbe_dev_ops = {
|
||||
static const struct vpbe_device_ops vpbe_dev_ops = {
|
||||
.g_cropcap = vpbe_g_cropcap,
|
||||
.enum_outputs = vpbe_enum_outputs,
|
||||
.set_output = vpbe_set_output,
|
||||
|
|
Загрузка…
Ссылка в новой задаче