projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7925eb
)
V4L/DVB (13480): atbm8830: fix compile warning
author
Hans Verkuil
<hverkuil@xs4all.nl>
Wed, 25 Nov 2009 17:30:53 +0000
(14:30 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 5 Dec 2009 20:42:06 +0000
(18:42 -0200)
Fix this trivial compile warning:
v4l/atbm8830.c:164: warning: 'set_agc_config' defined but not used
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/atbm8830.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/frontends/atbm8830.c
b/drivers/media/dvb/frontends/atbm8830.c
index 87fb3c23b80fabd4ba1b052ef61acdd050a06a73..d77684893d99b7b9981a1d3332b01cef22095880 100644
(file)
--- a/
drivers/media/dvb/frontends/atbm8830.c
+++ b/
drivers/media/dvb/frontends/atbm8830.c
@@
-114,7
+114,7
@@
static int set_osc_freq(struct atbm_state *priv, u32 freq /*in kHz*/)
static int set_if_freq(struct atbm_state *priv, u32 freq /*in kHz*/)
{
-
+
u32 fs = priv->config->osc_clk_freq;
double t;
u32 val;
@@
-161,15
+161,6
@@
static int is_locked(struct atbm_state *priv, u8 *locked)
return 0;
}
-static int set_agc_config(struct atbm_state *priv,
- u8 min, u8 max, u8 hold_loop)
-{
- atbm8830_write_reg(priv, REG_AGC_MIN, min);
- atbm8830_write_reg(priv, REG_AGC_MAX, max);
- atbm8830_write_reg(priv, REG_AGC_HOLD_LOOP, hold_loop);
-
- return 0;
-}
static int set_static_channel_mode(struct atbm_state *priv)
{