mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue