mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 13:36:43 +07:00
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:
parent
968bce2f59
commit
20a438d53f
@ -18,7 +18,7 @@
|
|||||||
#define CSI_DEFAULT_WIDTH 640
|
#define CSI_DEFAULT_WIDTH 640
|
||||||
#define CSI_DEFAULT_HEIGHT 480
|
#define CSI_DEFAULT_HEIGHT 480
|
||||||
|
|
||||||
const struct sun4i_csi_format sun4i_csi_formats[] = {
|
static const struct sun4i_csi_format sun4i_csi_formats[] = {
|
||||||
/* YUV422 inputs */
|
/* YUV422 inputs */
|
||||||
{
|
{
|
||||||
.mbus = MEDIA_BUS_FMT_YUYV8_2X8,
|
.mbus = MEDIA_BUS_FMT_YUYV8_2X8,
|
||||||
|
Loading…
Reference in New Issue
Block a user