diff options
author | Andreas Oberritter <devnull@localhost> | 2005-08-12 14:00:45 +0000 |
---|---|---|
committer | Andreas Oberritter <devnull@localhost> | 2005-08-12 14:00:45 +0000 |
commit | e874ad6542a1d2eadddf742848915297892795ff (patch) | |
tree | 13272fb9432689c74846eb9982ff1e23b05d6605 /linux/drivers/media | |
parent | 64b6f46f9b4a798fe7fd094dd8b816eb9fafdf91 (diff) | |
download | mediapointer-dvb-s2-e874ad6542a1d2eadddf742848915297892795ff.tar.gz mediapointer-dvb-s2-e874ad6542a1d2eadddf742848915297892795ff.tar.bz2 |
fix initialization from incompatible pointer type
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-av.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-av.c b/linux/drivers/media/dvb/ttpci/budget-av.c index 12b34f481..7692cd23f 100644 --- a/linux/drivers/media/dvb/ttpci/budget-av.c +++ b/linux/drivers/media/dvb/ttpci/budget-av.c @@ -451,9 +451,9 @@ static int philips_su1278_ty_ci_set_symbol_rate(struct dvb_frontend *fe, u32 sra } static int philips_su1278_ty_ci_pll_set(struct dvb_frontend *fe, + struct i2c_adapter *i2c, struct dvb_frontend_parameters *params) { - struct budget_av *budget_av = (struct budget_av *) fe->dvb->priv; u32 div; u8 buf[4]; struct i2c_msg msg = {.addr = 0x61,.flags = 0,.buf = buf,.len = sizeof(buf) }; @@ -479,7 +479,7 @@ static int philips_su1278_ty_ci_pll_set(struct dvb_frontend *fe, else if (params->frequency < 2150000) buf[3] |= 0xC0; - if (i2c_transfer(&budget_av->budget.i2c_adap, &msg, 1) != 1) + if (i2c_transfer(i2c, &msg, 1) != 1) return -EIO; return 0; } |