Commit ec8df85f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: rga: make some functions static

drivers/media/platform/rockchip/rga/rga-hw.c:383:6: warning: no previous prototype for 'rga_cmd_set' [-Wmissing-prototypes]
 void rga_cmd_set(struct rga_ctx *ctx)
      ^~~~~~~~~~~
drivers/media/platform/rockchip/rga/rga.c:359:17: warning: no previous prototype for 'rga_fmt_find' [-Wmissing-prototypes]
 struct rga_fmt *rga_fmt_find(struct v4l2_format *f)
                 ^~~~~~~~~~~~
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent f7e7b48e
...@@ -380,7 +380,7 @@ static void rga_cmd_set_mode(struct rga_ctx *ctx) ...@@ -380,7 +380,7 @@ static void rga_cmd_set_mode(struct rga_ctx *ctx)
dest[(RGA_MODE_CTRL - RGA_MODE_BASE_REG) >> 2] = mode.val; dest[(RGA_MODE_CTRL - RGA_MODE_BASE_REG) >> 2] = mode.val;
} }
void rga_cmd_set(struct rga_ctx *ctx) static void rga_cmd_set(struct rga_ctx *ctx)
{ {
struct rockchip_rga *rga = ctx->rga; struct rockchip_rga *rga = ctx->rga;
......
...@@ -356,7 +356,7 @@ struct rga_fmt formats[] = { ...@@ -356,7 +356,7 @@ struct rga_fmt formats[] = {
#define NUM_FORMATS ARRAY_SIZE(formats) #define NUM_FORMATS ARRAY_SIZE(formats)
struct rga_fmt *rga_fmt_find(struct v4l2_format *f) static struct rga_fmt *rga_fmt_find(struct v4l2_format *f)
{ {
unsigned int i; unsigned int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment