2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00

[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>
This commit is contained in:
Hans Verkuil 2015-05-22 10:44:49 -03:00 committed by Mauro Carvalho Chehab
parent 4da707688b
commit edff2bac9d

View File

@ -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;