diff options
Diffstat (limited to 'drivers/media/video/gspca/gspca.c')
-rw-r--r-- | drivers/media/video/gspca/gspca.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index b36913017d7b..ad4721b06920 100644 --- a/drivers/media/video/gspca/gspca.c +++ b/drivers/media/video/gspca/gspca.c | |||
@@ -247,7 +247,7 @@ static void isoc_transfer(struct gspca_dev *gspca_dev) | |||
247 | struct gspca_frame *gspca_frame_add(struct gspca_dev *gspca_dev, | 247 | struct gspca_frame *gspca_frame_add(struct gspca_dev *gspca_dev, |
248 | int packet_type, | 248 | int packet_type, |
249 | struct gspca_frame *frame, | 249 | struct gspca_frame *frame, |
250 | __u8 *data, | 250 | const __u8 *data, |
251 | int len) | 251 | int len) |
252 | { | 252 | { |
253 | int i, j; | 253 | int i, j; |
@@ -1053,7 +1053,7 @@ static int vidioc_s_ctrl(struct file *file, void *priv, | |||
1053 | struct v4l2_control *ctrl) | 1053 | struct v4l2_control *ctrl) |
1054 | { | 1054 | { |
1055 | struct gspca_dev *gspca_dev = priv; | 1055 | struct gspca_dev *gspca_dev = priv; |
1056 | struct ctrl *ctrls; | 1056 | const struct ctrl *ctrls; |
1057 | int i, ret; | 1057 | int i, ret; |
1058 | 1058 | ||
1059 | for (i = 0, ctrls = gspca_dev->sd_desc->ctrls; | 1059 | for (i = 0, ctrls = gspca_dev->sd_desc->ctrls; |
@@ -1079,7 +1079,7 @@ static int vidioc_g_ctrl(struct file *file, void *priv, | |||
1079 | { | 1079 | { |
1080 | struct gspca_dev *gspca_dev = priv; | 1080 | struct gspca_dev *gspca_dev = priv; |
1081 | 1081 | ||
1082 | struct ctrl *ctrls; | 1082 | const struct ctrl *ctrls; |
1083 | int i, ret; | 1083 | int i, ret; |
1084 | 1084 | ||
1085 | for (i = 0, ctrls = gspca_dev->sd_desc->ctrls; | 1085 | for (i = 0, ctrls = gspca_dev->sd_desc->ctrls; |