summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2015-05-19 13:06:52 +0200
committerMauro Carvalho Chehab2015-05-20 13:54:37 +0200
commit5b8bc802e79f4f1df7fcf6999c910d6e231e3c95 (patch)
treec84110bb84a3b1363082def3ab4a0c6882528378 /drivers/media/dvb-frontends
parent[media] cx24120: don't initialize a var that won't be used (diff)
downloadkernel-qcow2-linux-5b8bc802e79f4f1df7fcf6999c910d6e231e3c95.tar.gz
kernel-qcow2-linux-5b8bc802e79f4f1df7fcf6999c910d6e231e3c95.tar.xz
kernel-qcow2-linux-5b8bc802e79f4f1df7fcf6999c910d6e231e3c95.zip
[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>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/cx24120.c2
1 files changed, 1 insertions, 1 deletions
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;