summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/mt2060_priv.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-20 17:09:15 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 08:26:40 -0200
commit2676c258eb836caed508099e58030398217a5ef0 (patch)
tree8e9e3c19a326273f0e2a759844ee0006ed67f6f6 /drivers/media/common/tuners/mt2060_priv.h
parent8b80ff3ad52690d37e9617335ce9d66e6d4a92e5 (diff)
[media] mt2060: remove fake implementaion of get_bandwidth()
This driver implements a fake get_bandwidth() callback. In reallity, the tuner driver won't adjust its low-pass filter based on a bandwidth, and were just providing a fake method for demods to read whatever was "set". This code is useless, as none of the drivers that use this tuner seems to require a get_bandwidth() callback. While here, convert set_params to use the DVBv5 way to pass parameters to tuners. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners/mt2060_priv.h')
-rw-r--r--drivers/media/common/tuners/mt2060_priv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/mt2060_priv.h b/drivers/media/common/tuners/mt2060_priv.h
index 5eaccdefd0b..2b60de6c707 100644
--- a/drivers/media/common/tuners/mt2060_priv.h
+++ b/drivers/media/common/tuners/mt2060_priv.h
@@ -97,7 +97,6 @@ struct mt2060_priv {
struct i2c_adapter *i2c;
u32 frequency;
- u32 bandwidth;
u16 if1_freq;
u8 fmfreq;
};