From: Hans Verkuil Date: Fri, 22 May 2015 13:44:49 +0000 (-0300) Subject: [media] cx24120: fix sparse warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=edff2bac9d3c3b94c0e790a49289824ff2c0a68c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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;