diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-09-04 02:33:43 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:36:58 -0400 |
commit | d45b9b8ab43c8973a9630ac54f4ede6c3e009f9e (patch) | |
tree | d5937a21d2d7520cc937a93ce7caa8665a96303f /drivers/media/dvb/frontends/sp887x.c | |
parent | 2bb87c24d7d5639bff65b41b1306542d6d2bf7d0 (diff) |
V4L/DVB (8906): v4l-dvb: fix assorted sparse warnings
Fix sparse warnings. None are serious, but cutting down on these helps find
future serious sparse warnings/errors.
Redid the av7710.c patch based on a suggestion by Oliver Endriss.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/sp887x.c')
-rw-r--r-- | drivers/media/dvb/frontends/sp887x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/sp887x.c b/drivers/media/dvb/frontends/sp887x.c index 4543609e1816..559509ab4dab 100644 --- a/drivers/media/dvb/frontends/sp887x.c +++ b/drivers/media/dvb/frontends/sp887x.c | |||
@@ -337,7 +337,8 @@ static int sp887x_setup_frontend_parameters (struct dvb_frontend* fe, | |||
337 | struct dvb_frontend_parameters *p) | 337 | struct dvb_frontend_parameters *p) |
338 | { | 338 | { |
339 | struct sp887x_state* state = fe->demodulator_priv; | 339 | struct sp887x_state* state = fe->demodulator_priv; |
340 | int actual_freq, err; | 340 | unsigned actual_freq; |
341 | int err; | ||
341 | u16 val, reg0xc05; | 342 | u16 val, reg0xc05; |
342 | 343 | ||
343 | if (p->u.ofdm.bandwidth != BANDWIDTH_8_MHZ && | 344 | if (p->u.ofdm.bandwidth != BANDWIDTH_8_MHZ && |