media: hantro: Constify the control array
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 25 Jul 2019 14:17:52 +0000 (10:17 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 25 Jul 2019 16:08:03 +0000 (12:08 -0400)
commit61e95d81aa28f411ff1238f56702dc2add2fac00
treee388cd0bb00a2029e477a5634fd33a867b6aabb9
parent9530bbe726a14fea2acd972a13b5d526edc94e87
media: hantro: Constify the control array

controls[] is not supposed to be modified at runtime, let's make it
explicit by adding a const specifier.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/hantro/hantro_drv.c