[media] cx24120: declare cx24120_init() as static
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 19 May 2015 11:06:52 +0000 (08:06 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 May 2015 11:54:37 +0000 (08:54 -0300)
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>
drivers/media/dvb-frontends/cx24120.c

index 3ab8582e233b5ed105988e81be6dcb55220eebd6..2dcd93f634085fba443fc032c125d539891c8ebd 100644 (file)
@@ -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;