Browse Source

[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 <mchehab@osg.samsung.com>
Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Mauro Carvalho Chehab 10 years ago
parent
commit
5b8bc802e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/dvb-frontends/cx24120.c

+ 1 - 1
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;