Commit b0944ea2 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] rtl2832: get rid of warning: no previous prototype

drivers/media/dvb-frontends/rtl2832.c:268:5: warning: no previous prototype for 'rtl2832_rd_demod_reg' [-Wmissing-prototypes]
drivers/media/dvb-frontends/rtl2832.c:308:5: warning: no previous prototype for 'rtl2832_wr_demod_reg' [-Wmissing-prototypes]
drivers/media/dvb-frontends/rtl2832.c:513:5: warning: no previous prototype for 'rtl2832_get_tune_settings' [-Wmissing-prototypes]
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a17ff2ee
...@@ -265,7 +265,7 @@ static int rtl2832_rd_reg(struct rtl2832_priv *priv, u8 reg, u8 page, u8 *val) ...@@ -265,7 +265,7 @@ static int rtl2832_rd_reg(struct rtl2832_priv *priv, u8 reg, u8 page, u8 *val)
return rtl2832_rd_regs(priv, reg, page, val, 1); return rtl2832_rd_regs(priv, reg, page, val, 1);
} }
int rtl2832_rd_demod_reg(struct rtl2832_priv *priv, int reg, u32 *val) static int rtl2832_rd_demod_reg(struct rtl2832_priv *priv, int reg, u32 *val)
{ {
int ret; int ret;
...@@ -305,7 +305,7 @@ int rtl2832_rd_demod_reg(struct rtl2832_priv *priv, int reg, u32 *val) ...@@ -305,7 +305,7 @@ int rtl2832_rd_demod_reg(struct rtl2832_priv *priv, int reg, u32 *val)
} }
int rtl2832_wr_demod_reg(struct rtl2832_priv *priv, int reg, u32 val) static int rtl2832_wr_demod_reg(struct rtl2832_priv *priv, int reg, u32 val)
{ {
int ret, i; int ret, i;
u8 len; u8 len;
...@@ -510,7 +510,7 @@ static int rtl2832_sleep(struct dvb_frontend *fe) ...@@ -510,7 +510,7 @@ static int rtl2832_sleep(struct dvb_frontend *fe)
return 0; return 0;
} }
int rtl2832_get_tune_settings(struct dvb_frontend *fe, static int rtl2832_get_tune_settings(struct dvb_frontend *fe,
struct dvb_frontend_tune_settings *s) struct dvb_frontend_tune_settings *s)
{ {
struct rtl2832_priv *priv = fe->demodulator_priv; struct rtl2832_priv *priv = fe->demodulator_priv;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment