diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-03-24 11:24:19 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-24 11:46:39 (GMT) |
commit | b5656e8b7363c4e248e6372dc34828d3dfb17832 (patch) | |
tree | fabec0fa0c862931c3987aeea538d4348de6a972 /drivers/media/usb/stk1160 | |
parent | 27d5a87cf4b44cbcbd0f4706a433e4a68d496236 (diff) | |
download | linux-b5656e8b7363c4e248e6372dc34828d3dfb17832.tar.xz |
[media] ivtv: prepare ivtv for adding const to s_register
The ivtv_itvc function receives a pointer to v4l2_dbg_register. When we
add const to that pointer in the s_register case we will run into a problem
here since this common function would discard const in that case. So
change this function so it receives the address and a pointer to a value.
In addition we now set the size field in the g_register function which is
where it belongs.
This will simplify the next patch where const will be added to s_register.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/stk1160')
0 files changed, 0 insertions, 0 deletions