diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-11 20:08:47 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-11 20:08:47 +0200 |
commit | c8946c8d5ab8725bd763fc98c0ec6e1e94e6f6a0 (patch) | |
tree | 741b52ca89f4185d7e6e65f3b3f3b671ab29d6fc /drivers | |
parent | [media] cxd2841er: Sony CXD2841ER DVB-S/S2/T/T2/C demodulator driver (diff) | |
download | linux-c8946c8d5ab8725bd763fc98c0ec6e1e94e6f6a0.tar.xz linux-c8946c8d5ab8725bd763fc98c0ec6e1e94e6f6a0.zip |
[media] cxd2841er: declare static functions as such
drivers/media/dvb-frontends/cxd2841er.c:992:5: warning: no previous prototype for 'cxd2841er_get_carrier_offset_t2' [-Wmissing-prototypes]
int cxd2841er_get_carrier_offset_t2(
^
drivers/media/dvb-frontends/cxd2841er.c:1032:5: warning: no previous prototype for 'cxd2841er_get_carrier_offset_c' [-Wmissing-prototypes]
int cxd2841er_get_carrier_offset_c(
^
drivers/media/dvb-frontends/cxd2841er.c:1360:5: warning: no previous prototype for 'cxd2841er_read_snr_t2' [-Wmissing-prototypes]
int cxd2841er_read_snr_t2(struct cxd2841er_priv *priv, u32 *snr)
^
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb-frontends/cxd2841er.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/dvb-frontends/cxd2841er.c b/drivers/media/dvb-frontends/cxd2841er.c index d3813cc22770..0d1a15109d1e 100644 --- a/drivers/media/dvb-frontends/cxd2841er.c +++ b/drivers/media/dvb-frontends/cxd2841er.c @@ -989,8 +989,8 @@ static int cxd2841er_get_carrier_offset_s_s2(struct cxd2841er_priv *priv, return 0; } -int cxd2841er_get_carrier_offset_t2( - struct cxd2841er_priv *priv, u32 bandwidth, int *offset) +static int cxd2841er_get_carrier_offset_t2(struct cxd2841er_priv *priv, + u32 bandwidth, int *offset) { u8 data[4]; @@ -1029,8 +1029,8 @@ int cxd2841er_get_carrier_offset_t2( return 0; } -int cxd2841er_get_carrier_offset_c( - struct cxd2841er_priv *priv, int *offset) +static int cxd2841er_get_carrier_offset_c(struct cxd2841er_priv *priv, + int *offset) { u8 data[2]; @@ -1357,7 +1357,7 @@ static int cxd2841er_read_snr_t(struct cxd2841er_priv *priv, u32 *snr) return 0; } -int cxd2841er_read_snr_t2(struct cxd2841er_priv *priv, u32 *snr) +static int cxd2841er_read_snr_t2(struct cxd2841er_priv *priv, u32 *snr) { u32 reg; u8 data[2]; |