diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-03-24 15:28:46 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-24 15:47:01 +0400 |
commit | 977ba3b1b73f24fae2d0c8bd59d7a4696f1e0ccc (patch) | |
tree | 8a30d06717aacc154e851868c40e2596c3a572be /drivers/media/usb/gspca/pac7302.c | |
parent | b5656e8b7363c4e248e6372dc34828d3dfb17832 (diff) | |
download | linux-977ba3b1b73f24fae2d0c8bd59d7a4696f1e0ccc.tar.xz |
[media] v4l2: add const to argument of write-only s_register ioctl
This ioctl is defined as IOW, so pass the argument as const.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/gspca/pac7302.c')
-rw-r--r-- | drivers/media/usb/gspca/pac7302.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/gspca/pac7302.c b/drivers/media/usb/gspca/pac7302.c index 682ef3340911..6008c8d546a3 100644 --- a/drivers/media/usb/gspca/pac7302.c +++ b/drivers/media/usb/gspca/pac7302.c @@ -840,7 +840,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, #ifdef CONFIG_VIDEO_ADV_DEBUG static int sd_dbg_s_register(struct gspca_dev *gspca_dev, - struct v4l2_dbg_register *reg) + const struct v4l2_dbg_register *reg) { u8 index; u8 value; |