summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-10-31 01:04:56 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-31 01:04:56 +0000
commitfeb7b056ad71ef42a82b5f0c8ef659936344c5aa (patch)
tree396500f1d207a56cad73d405ba28c7ca722e0906 /linux/drivers
parentd8814a9d943a11e3f18f1a873ec15ad74f412c5e (diff)
downloadmediapointer-dvb-s2-feb7b056ad71ef42a82b5f0c8ef659936344c5aa.tar.gz
mediapointer-dvb-s2-feb7b056ad71ef42a82b5f0c8ef659936344c5aa.tar.bz2
stb0899 Remove double .read_status assignment
From: Igor M. Liplianin <liplianin@tut.by> Currently in stb0899 code it appears double .read_status assignment Send patch to fix it. CC: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/frontends/stb0899_drv.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb0899_drv.c b/linux/drivers/media/dvb/frontends/stb0899_drv.c
index 02edf1760..63c547f31 100644
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c
@@ -272,9 +272,9 @@ int stb0899_read_reg(struct stb0899_state *state, unsigned int reg)
}
u32 _stb0899_read_s2reg(struct stb0899_state *state,
- u32 stb0899_i2cdev,
- u32 stb0899_base_addr,
- u16 stb0899_reg_offset)
+ u32 stb0899_i2cdev,
+ u32 stb0899_base_addr,
+ u16 stb0899_reg_offset)
{
int status;
u32 data;
@@ -372,7 +372,7 @@ err:
}
int stb0899_write_s2reg(struct stb0899_state *state,
- u32 stb0899_i2cdev,
+ u32 stb0899_i2cdev,
u32 stb0899_base_addr,
u16 stb0899_reg_offset,
u32 stb0899_data)
@@ -1932,7 +1932,6 @@ static struct dvb_frontend_ops stb0899_ops = {
.read_status = stb0899_read_status,
.read_snr = stb0899_read_snr,
.read_signal_strength = stb0899_read_signal_strength,
- .read_status = stb0899_read_status,
.read_ber = stb0899_read_ber,
.set_voltage = stb0899_set_voltage,