aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2008-01-25 20:39:16 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:22 -0200
commit3d6a3bebda2093cf563266bbfa0f1f1b1ae8fd41 (patch)
tree8531108fc51bb6cf381f002ea573db48255e3dad
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>
-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 6e7db991274..196a837f11c 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -444,7 +444,7 @@ err:
return status < 0 ? status : -EREMOTEIO;
}
-int stb0899_read_regs(struct stb0899_state *state, unsigned int reg, u8 *buf, size_t count)
+int stb0899_read_regs(struct stb0899_state *state, unsigned int reg, u8 *buf, u32 count)
{
int status;
diff --git a/drivers/media/dvb/frontends/stb0899_priv.h b/drivers/media/dvb/frontends/stb0899_priv.h
index da7fddb4e6b..f9b8f51446a 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,
extern int stb0899_read_regs(struct stb0899_state *state,
unsigned int reg, u8 *buf,
- size_t count);
+ u32 count);
extern int stb0899_write_regs(struct stb0899_state *state,
unsigned int reg, u8 *data,