summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda1004x.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda1004x.c')
-rw-r--r--linux/drivers/media/dvb/frontends/tda1004x.c29
1 files changed, 3 insertions, 26 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda1004x.c b/linux/drivers/media/dvb/frontends/tda1004x.c
index 47c90d6e0..0860e895a 100644
--- a/linux/drivers/media/dvb/frontends/tda1004x.c
+++ b/linux/drivers/media/dvb/frontends/tda1004x.c
@@ -39,19 +39,14 @@
#define TDA1004X_DEMOD_TDA10046 1
-struct tda1004x_state
-{
+struct tda1004x_state {
struct i2c_adapter* i2c;
-
struct dvb_frontend_ops ops;
-
const struct tda1004x_config* config;
-
struct dvb_frontend frontend;
/* private demod data */
u8 initialised:1;
-
u8 demod_type;
};
@@ -347,7 +342,6 @@ static int tda1004x_check_upload_ok(struct tda1004x_state *state, u8 dspVersion)
return 0;
}
-
static int tda10045_fwupload(struct dvb_frontend* fe)
{
struct tda1004x_state* state = fe->demodulator_priv;
@@ -363,7 +357,7 @@ static int tda10045_fwupload(struct dvb_frontend* fe)
ret = state->config->request_firmware(fe, &fw, TDA10045_DEFAULT_FIRMWARE);
if (ret) {
printk("tda1004x: no firmware upload (timeout or file not found?)\n");
- return ret;
+ return ret;
}
/* reset chip */
@@ -407,7 +401,7 @@ static int tda10046_fwupload(struct dvb_frontend* fe)
ret = state->config->request_firmware(fe, &fw, TDA10046_DEFAULT_FIRMWARE);
if (ret) {
printk("tda1004x: no firmware upload (timeout or file not found?)\n");
- return ret;
+ return ret;
}
/* set parameters */
@@ -476,23 +470,6 @@ static int tda1004x_decode_fec(int tdafec)
return -1;
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
int tda1004x_write_byte(struct dvb_frontend* fe, int reg, int data)
{
struct tda1004x_state* state = fe->demodulator_priv;