V4L/DVB (9454): Fix a compile warning
authorManu Abraham <abraham.manu@gmail.com>
Fri, 25 Jan 2008 23:39:16 +0000 (20:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:22 +0000 (17:53 -0200)
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stb0899_drv.c
drivers/media/dvb/frontends/stb0899_priv.h

index 6e7db99127496f938359d9843c7ecf70e7129fb3..196a837f11cec980e4321f302e2478acebb8ba4f 100644 (file)
@@ -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;
 
index da7fddb4e6be53454063d8c424b3e810281ef6af..f9b8f51446a6682bc6a4d553dced396eed10dc76 100644 (file)
@@ -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,