diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2008-01-25 18:28:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:22 -0500 |
commit | 85eabac439ff6b60775e3d6458702dcb6c479e05 (patch) | |
tree | 34c5f1f5b5b6babd82dcf29748e7619e1e7c55f4 /drivers/media/dvb/frontends/stb0899_drv.c | |
parent | d6812086508a38ccb48ed9d5bc9f50732dc818db (diff) |
V4L/DVB (9453): stb0899: fix compilation warnings
Cleanup/Optimization:
* Fix compile warnings
* The compile warnings helped to identify 2 unnecessary I/O operations
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stb0899_drv.c')
-rw-r--r-- | drivers/media/dvb/frontends/stb0899_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c index 2caa192a8e7e..6e7db9912749 100644 --- a/drivers/media/dvb/frontends/stb0899_drv.c +++ b/drivers/media/dvb/frontends/stb0899_drv.c | |||
@@ -495,7 +495,7 @@ err: | |||
495 | return status < 0 ? status : -EREMOTEIO; | 495 | return status < 0 ? status : -EREMOTEIO; |
496 | } | 496 | } |
497 | 497 | ||
498 | int stb0899_write_regs(struct stb0899_state *state, unsigned int reg, u8 *data, size_t count) | 498 | int stb0899_write_regs(struct stb0899_state *state, unsigned int reg, u8 *data, u32 count) |
499 | { | 499 | { |
500 | int ret; | 500 | int ret; |
501 | u8 buf[2 + count]; | 501 | u8 buf[2 + count]; |