From 5b8bc802e79f4f1df7fcf6999c910d6e231e3c95 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 19 May 2015 08:06:52 -0300 Subject: [PATCH] [media] cx24120: declare cx24120_init() as static drivers/media/dvb-frontends/cx24120.c:1182:5: warning: no previous prototype for 'cx24120_init' [-Wmissing-prototypes] int cx24120_init(struct dvb_frontend *fe) ^ Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Patrick Boettcher --- drivers/media/dvb-frontends/cx24120.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/cx24120.c b/drivers/media/dvb-frontends/cx24120.c index 3ab8582..2dcd93f 100644 --- a/drivers/media/dvb-frontends/cx24120.c +++ b/drivers/media/dvb-frontends/cx24120.c @@ -1179,7 +1179,7 @@ static int cx24120_set_vco(struct cx24120_state *state) return cx24120_message_send(state, &cmd); } -int cx24120_init(struct dvb_frontend *fe) +static int cx24120_init(struct dvb_frontend *fe) { const struct firmware *fw; struct dtv_frontend_properties *c = &fe->dtv_property_cache; -- 2.7.4