summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/it913x.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-02-28 04:14:06 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 22:58:46 +0100
commit44af747f4e0174d5dbc8c565a4d329dbcf599921 (patch)
tree29a264280a58ce21305bee8e98df28b28638b647 /drivers/media/tuners/it913x.h
parent[media] it913x: tuner power up routines (diff)
downloadlinux-44af747f4e0174d5dbc8c565a4d329dbcf599921.tar.xz
linux-44af747f4e0174d5dbc8c565a4d329dbcf599921.zip
[media] it913x: get rid of it913x config struct
We don't need it. Tuner ID and device address are enough. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/it913x.h')
-rw-r--r--drivers/media/tuners/it913x.h22
1 files changed, 6 insertions, 16 deletions
diff --git a/drivers/media/tuners/it913x.h b/drivers/media/tuners/it913x.h
index 3583e56625f1..12dd36bd9e79 100644
--- a/drivers/media/tuners/it913x.h
+++ b/drivers/media/tuners/it913x.h
@@ -25,27 +25,17 @@
#include "dvb_frontend.h"
-struct ite_config {
- u8 chip_ver;
- u16 chip_type;
- u32 firmware;
- u8 firmware_ver;
- u8 adc_x2;
- u8 tuner_id_0;
- u8 tuner_id_1;
- u8 dual_mode;
- u8 adf;
- /* option to read SIGNAL_LEVEL */
- u8 read_slevel;
-};
-
#if defined(CONFIG_MEDIA_TUNER_IT913X) || \
(defined(CONFIG_MEDIA_TUNER_IT913X_MODULE) && defined(MODULE))
extern struct dvb_frontend *it913x_attach(struct dvb_frontend *fe,
- struct i2c_adapter *i2c_adap, u8 i2c_addr, struct ite_config *config);
+ struct i2c_adapter *i2c_adap,
+ u8 i2c_addr,
+ u8 config);
#else
static inline struct dvb_frontend *it913x_attach(struct dvb_frontend *fe,
- struct i2c_adapter *i2c_adap, u8 i2c_addr, struct ite_config *config)
+ struct i2c_adapter *i2c_adap,
+ u8 i2c_addr,
+ u8 config)
{
pr_warn("%s: driver disabled by Kconfig\n", __func__);
return NULL;