diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-22 13:22:27 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-23 06:28:41 -0400 |
commit | 43d1ed0811bb2780c49fa17e90a29b27078244a7 (patch) | |
tree | 4326a8049857d331a0c013f330d658dde08d5ad6 /drivers/media/platform | |
parent | 8395597fa4ecb0cab9241a399d78d5d3a95d928f (diff) | |
download | linux-stable-43d1ed0811bb2780c49fa17e90a29b27078244a7.tar.gz linux-stable-43d1ed0811bb2780c49fa17e90a29b27078244a7.tar.bz2 linux-stable-43d1ed0811bb2780c49fa17e90a29b27078244a7.zip |
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>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/rockchip/rga/rga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/rockchip/rga/rga.c b/drivers/media/platform/rockchip/rga/rga.c index 89296de9cf4a..d508a8ba6f89 100644 --- a/drivers/media/platform/rockchip/rga/rga.c +++ b/drivers/media/platform/rockchip/rga/rga.c @@ -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, |