summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-12-28 06:59:04 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:17:19 -0200
commit0aeb5ec74b0a95f1699040f0262a6fd5507d6e8f (patch)
tree2d0c114a0b14cd159d551d239d52c957e8c3ceff
parentd85185902fb669a92d4934b926f8016368e1ad06 (diff)
downloadlinux-stable-0aeb5ec74b0a95f1699040f0262a6fd5507d6e8f.tar.gz
linux-stable-0aeb5ec74b0a95f1699040f0262a6fd5507d6e8f.tar.bz2
linux-stable-0aeb5ec74b0a95f1699040f0262a6fd5507d6e8f.zip
[media] gspca - pac7302/pac7311: Fix some warnings
Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/gspca/pac7302.c2
-rw-r--r--drivers/media/video/gspca/pac7311.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/pac7302.c b/drivers/media/video/gspca/pac7302.c
index 55fbea7381b0..2700975abce5 100644
--- a/drivers/media/video/gspca/pac7302.c
+++ b/drivers/media/video/gspca/pac7302.c
@@ -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;
diff --git a/drivers/media/video/gspca/pac7311.c b/drivers/media/video/gspca/pac7311.c
index 7657b43b3203..6820f5d58b19 100644
--- a/drivers/media/video/gspca/pac7311.c
+++ b/drivers/media/video/gspca/pac7311.c
@@ -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;