From: Mauro Carvalho Chehab Date: Tue, 19 May 2015 11:06:52 +0000 (-0300) Subject: [media] cx24120: declare cx24120_init() as static X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=5b8bc802e79f4f1df7fcf6999c910d6e231e3c95;p=deliverable%2Flinux.git [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 --- diff --git a/drivers/media/dvb-frontends/cx24120.c b/drivers/media/dvb-frontends/cx24120.c index 3ab8582e233b..2dcd93f63408 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;