diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-25 20:40:21 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-25 21:07:04 +0200 |
commit | 7063c1456fc0a6366f467f10e7a35178ecc881ad (patch) | |
tree | 2f23756954a93b3085c07dea7da52732cf2cdf08 /drivers/media/tuners/r820t.h | |
parent | [media] dib0090: Fix a warning at dib0090_set_EFUSE (diff) | |
download | linux-7063c1456fc0a6366f467f10e7a35178ecc881ad.tar.xz linux-7063c1456fc0a6366f467f10e7a35178ecc881ad.zip |
[media] r820t: Remove a warning for an unused value
Currently, the driver complains about the pre_detect var:
drivers/media/tuners/r820t.c: In function 'r820t_sysfreq_sel':
drivers/media/tuners/r820t.c:722:31: warning: variable 'pre_dect' set but not used [-Wunused-but-set-variable]
While rtl8232 code comments it, perhaps some other driver may use.
So, the better is to keep the code there, allowing to enable it
via r820t config data.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/r820t.h')
-rw-r--r-- | drivers/media/tuners/r820t.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/tuners/r820t.h b/drivers/media/tuners/r820t.h index 4c0823b21693..48af3548027d 100644 --- a/drivers/media/tuners/r820t.h +++ b/drivers/media/tuners/r820t.h @@ -39,6 +39,7 @@ struct r820t_config { enum r820t_chip rafael_chip; unsigned max_i2c_msg_len; bool use_diplexer; + bool use_predetect; }; #if IS_ENABLED(CONFIG_MEDIA_TUNER_R820T) |