Commit 521e86eb authored by Márton Németh's avatar Márton Németh Committed by Mauro Carvalho Chehab

V4L/DVB: stv0900: make local functions static

The functions stv0900_sw_algo() and stv0900_set_dvbs1_track_car_loop() are only used
locally so mark them static.

This will remove the following sparse warnings (see "make C=1"):
 * symbol 'stv0900_sw_algo' was not declared. Should it be static?
 * symbol 'stv0900_set_dvbs1_track_car_loop' was not declared. Should it be static?
Signed-off-by: default avatarMárton Németh <nm127@freemail.hu>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d5abcc78
...@@ -193,7 +193,7 @@ static int stv0900_search_carr_sw_loop(struct stv0900_internal *intp, ...@@ -193,7 +193,7 @@ static int stv0900_search_carr_sw_loop(struct stv0900_internal *intp,
return lock; return lock;
} }
int stv0900_sw_algo(struct stv0900_internal *intp, static int stv0900_sw_algo(struct stv0900_internal *intp,
enum fe_stv0900_demod_num demod) enum fe_stv0900_demod_num demod)
{ {
int lock = FALSE, int lock = FALSE,
...@@ -795,7 +795,7 @@ static enum fe_stv0900_fec stv0900_get_vit_fec(struct stv0900_internal *intp, ...@@ -795,7 +795,7 @@ static enum fe_stv0900_fec stv0900_get_vit_fec(struct stv0900_internal *intp,
return prate; return prate;
} }
void stv0900_set_dvbs1_track_car_loop(struct stv0900_internal *intp, static void stv0900_set_dvbs1_track_car_loop(struct stv0900_internal *intp,
enum fe_stv0900_demod_num demod, enum fe_stv0900_demod_num demod,
u32 srate) u32 srate)
{ {
......
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