Commit c2c611b7 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh Committed by Mauro Carvalho Chehab

[media] atomisp: Make undeclared symbols static

Fix sparse warnings: "symbol not declared; should it be static?"
Signed-off-by: default avatarGuru Das Srinagesh <gurooodas@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 8c7e9a73
...@@ -130,7 +130,7 @@ static int atomisp_q_one_metadata_buffer(struct atomisp_sub_device *asd, ...@@ -130,7 +130,7 @@ static int atomisp_q_one_metadata_buffer(struct atomisp_sub_device *asd,
return 0; return 0;
} }
int atomisp_q_one_s3a_buffer(struct atomisp_sub_device *asd, static int atomisp_q_one_s3a_buffer(struct atomisp_sub_device *asd,
enum atomisp_input_stream_id stream_id, enum atomisp_input_stream_id stream_id,
enum atomisp_css_pipe_id css_pipe_id) enum atomisp_css_pipe_id css_pipe_id)
{ {
...@@ -172,7 +172,7 @@ int atomisp_q_one_s3a_buffer(struct atomisp_sub_device *asd, ...@@ -172,7 +172,7 @@ int atomisp_q_one_s3a_buffer(struct atomisp_sub_device *asd,
return 0; return 0;
} }
int atomisp_q_one_dis_buffer(struct atomisp_sub_device *asd, static int atomisp_q_one_dis_buffer(struct atomisp_sub_device *asd,
enum atomisp_input_stream_id stream_id, enum atomisp_input_stream_id stream_id,
enum atomisp_css_pipe_id css_pipe_id) enum atomisp_css_pipe_id css_pipe_id)
{ {
...@@ -744,7 +744,7 @@ static void atomisp_subdev_init_struct(struct atomisp_sub_device *asd) ...@@ -744,7 +744,7 @@ static void atomisp_subdev_init_struct(struct atomisp_sub_device *asd)
/* /*
* file operation functions * file operation functions
*/ */
unsigned int atomisp_subdev_users(struct atomisp_sub_device *asd) static unsigned int atomisp_subdev_users(struct atomisp_sub_device *asd)
{ {
return asd->video_out_preview.users + return asd->video_out_preview.users +
asd->video_out_vf.users + asd->video_out_vf.users +
......
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