aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2008-01-25 18:39:16 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 14:53:22 -0500
commit3d6a3bebda2093cf563266bbfa0f1f1b1ae8fd41 (patch)
tree8531108fc51bb6cf381f002ea573db48255e3dad /drivers/media
parent85eabac439ff6b60775e3d6458702dcb6c479e05 (diff)
V4L/DVB (9454): Fix a compile warning
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c2
-rw-r--r--drivers/media/dvb/frontends/stb0899_priv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index 6e7db9912749..196a837f11ce 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -444,7 +444,7 @@ err:
444 return status < 0 ? status : -EREMOTEIO; 444 return status < 0 ? status : -EREMOTEIO;
445} 445}
446 446
447int stb0899_read_regs(struct stb0899_state *state, unsigned int reg, u8 *buf, size_t count) 447int stb0899_read_regs(struct stb0899_state *state, unsigned int reg, u8 *buf, u32 count)
448{ 448{
449 int status; 449 int status;
450 450
diff --git a/drivers/media/dvb/frontends/stb0899_priv.h b/drivers/media/dvb/frontends/stb0899_priv.h
index da7fddb4e6be..f9b8f51446a6 100644
--- a/drivers/media/dvb/frontends/stb0899_priv.h
+++ b/drivers/media/dvb/frontends/stb0899_priv.h
@@ -238,7 +238,7 @@ extern u32 _stb0899_read_s2reg(struct stb0899_state *state,
238 238
239extern int stb0899_read_regs(struct stb0899_state *state, 239extern int stb0899_read_regs(struct stb0899_state *state,
240 unsigned int reg, u8 *buf, 240 unsigned int reg, u8 *buf,
241 size_t count); 241 u32 count);
242 242
243extern int stb0899_write_regs(struct stb0899_state *state, 243extern int stb0899_write_regs(struct stb0899_state *state,
244 unsigned int reg, u8 *data, 244 unsigned int reg, u8 *data,