media: rca: declare formats var as static
As warned: drivers/media/platform/rockchip/rga/rga.c:210:16: warning: symbol 'formats' was not declared. Should it be static? Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
8395597fa4
commit
43d1ed0811
|
@ -207,7 +207,7 @@ static int rga_setup_ctrls(struct rga_ctx *ctx)
|
|||
return 0;
|
||||
}
|
||||
|
||||
struct rga_fmt formats[] = {
|
||||
static struct rga_fmt formats[] = {
|
||||
{
|
||||
.fourcc = V4L2_PIX_FMT_ARGB32,
|
||||
.color_swap = RGA_COLOR_RB_SWAP,
|
||||
|
|
Loading…
Reference in New Issue