media: sun4i: Make sun4i_csi_formats static
The sun4i_csi_formats array is only used in sun4i_v4l2.c, so it doesn't make any sense to have it !static. [Sakari Ailus: const static -> static const] Reported-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Родитель
968bce2f59
Коммит
20a438d53f
|
@ -18,7 +18,7 @@
|
|||
#define CSI_DEFAULT_WIDTH 640
|
||||
#define CSI_DEFAULT_HEIGHT 480
|
||||
|
||||
const struct sun4i_csi_format sun4i_csi_formats[] = {
|
||||
static const struct sun4i_csi_format sun4i_csi_formats[] = {
|
||||
/* YUV422 inputs */
|
||||
{
|
||||
.mbus = MEDIA_BUS_FMT_YUYV8_2X8,
|
||||
|
|
Загрузка…
Ссылка в новой задаче