diff options
author | Randy Dunlap | 2010-02-15 03:39:32 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2010-02-26 19:11:02 +0100 |
commit | 7ccf1eea972177064b4df9d5ba68958604781db6 (patch) | |
tree | 469e50b4230ddb5f1fdb328ada4cf69bf2ce1994 /drivers/media/dvb/frontends/tda665x.c | |
parent | V4L/DVB: V4L: dvb-usb, add extra sync to down-up input events (diff) | |
download | kernel-qcow2-linux-7ccf1eea972177064b4df9d5ba68958604781db6.tar.gz kernel-qcow2-linux-7ccf1eea972177064b4df9d5ba68958604781db6.tar.xz kernel-qcow2-linux-7ccf1eea972177064b4df9d5ba68958604781db6.zip |
V4L/DVB: dvb: fix sparse warnings
Fix sparse warnings in media/dvb/frontends:
drivers/media/dvb/frontends/dibx000_common.c:177:13: warning: non-ANSI function declaration of function 'systime'
drivers/media/dvb/frontends/tda665x.c:136:55: warning: right shift by bigger than source value
[mchehab@redhat.com: removed the change at dib0090 since it got fixed by a previous patch]
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/tda665x.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda665x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda665x.c b/drivers/media/dvb/frontends/tda665x.c index 87d52739c828..c44fefe92d97 100644 --- a/drivers/media/dvb/frontends/tda665x.c +++ b/drivers/media/dvb/frontends/tda665x.c @@ -133,7 +133,7 @@ static int tda665x_set_state(struct dvb_frontend *fe, frequency += config->ref_divider >> 1; frequency /= config->ref_divider; - buf[0] = (u8) (frequency & 0x7f00) >> 8; + buf[0] = (u8) ((frequency & 0x7f00) >> 8); buf[1] = (u8) (frequency & 0x00ff) >> 0; buf[2] = 0x80 | 0x40 | 0x02; buf[3] = 0x00; |