diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2008-01-25 20:28:46 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 17:53:22 -0200 |
commit | 85eabac439ff6b60775e3d6458702dcb6c479e05 (patch) | |
tree | 34c5f1f5b5b6babd82dcf29748e7619e1e7c55f4 /drivers/media/dvb/frontends/stb0899_drv.c | |
parent | d6812086508a38ccb48ed9d5bc9f50732dc818db (diff) | |
download | lwn-85eabac439ff6b60775e3d6458702dcb6c479e05.tar.gz lwn-85eabac439ff6b60775e3d6458702dcb6c479e05.zip |
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: return status < 0 ? status : -EREMOTEIO; } -int stb0899_write_regs(struct stb0899_state *state, unsigned int reg, u8 *data, size_t count) +int stb0899_write_regs(struct stb0899_state *state, unsigned int reg, u8 *data, u32 count) { int ret; u8 buf[2 + count]; |