[media] gspca - pac7302/pac7311: Fix some warnings
authorJean-François Moine <moinejf@free.fr>
Tue, 28 Dec 2010 09:59:04 +0000 (06:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:19 +0000 (08:17 -0200)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/pac7302.c
drivers/media/video/gspca/pac7311.c

index 55fbea7381b0a36329d99089b344cd2773d3e508..2700975abce5e277103830ef419485054d05976a 100644 (file)
@@ -393,7 +393,7 @@ static const __u8 page3_7302[] = {
 
 static void reg_w_buf(struct gspca_dev *gspca_dev,
                  __u8 index,
-                 const char *buffer, int len)
+                 const u8 *buffer, int len)
 {
        int ret;
 
index 7657b43b3203e4dac2908666f88545f38aae21a5..6820f5d58b19d1933478a98bb0ff0b4f629d8ed9 100644 (file)
@@ -261,7 +261,7 @@ static const __u8 page4_7311[] = {
 
 static void reg_w_buf(struct gspca_dev *gspca_dev,
                  __u8 index,
-                 const char *buffer, int len)
+                 const u8 *buffer, int len)
 {
        int ret;