summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-05-22 10:44:49 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-30 11:22:14 -0300
commitedff2bac9d3c3b94c0e790a49289824ff2c0a68c (patch)
tree68d5d0da99b035799f9cf0af65261a0a846e7f43
parent4da707688b1f7628efe26058dffd6dbf3343f8ba (diff)
[media] cx24120: fix sparse warning
drivers/media/dvb-frontends/cx24120.c:837:6: warning: symbol 'cx24120_calculate_ber_window' was not declared. Should it be static? Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/dvb-frontends/cx24120.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/cx24120.c b/drivers/media/dvb-frontends/cx24120.c
index 10a948ef8440..a1d1b1c44b40 100644
--- a/drivers/media/dvb-frontends/cx24120.c
+++ b/drivers/media/dvb-frontends/cx24120.c
@@ -838,7 +838,7 @@ static int cx24120_get_fec(struct dvb_frontend *fe)
}
/* Calculate ber window time */
-void cx24120_calculate_ber_window(struct cx24120_state *state, u32 rate)
+static void cx24120_calculate_ber_window(struct cx24120_state *state, u32 rate)
{
struct dvb_frontend *fe = &state->frontend;
struct dtv_frontend_properties *c = &fe->dtv_property_cache;