From: Hans Verkuil Date: Fri, 22 May 2015 13:44:49 +0000 (-0300) Subject: [media] cx24120: fix sparse warning X-Git-Tag: firefly_0821_release~176^2~795^2~642 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=edff2bac9d3c3b94c0e790a49289824ff2c0a68c;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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;