diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-03-24 08:24:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-24 08:46:39 -0300 |
commit | b5656e8b7363c4e248e6372dc34828d3dfb17832 (patch) | |
tree | fabec0fa0c862931c3987aeea538d4348de6a972 /drivers/media/pci/bt8xx/bttv-driver.c | |
parent | 27d5a87cf4b44cbcbd0f4706a433e4a68d496236 (diff) | |
download | talos-obmc-linux-b5656e8b7363c4e248e6372dc34828d3dfb17832.tar.gz talos-obmc-linux-b5656e8b7363c4e248e6372dc34828d3dfb17832.zip |
[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/pci/bt8xx/bttv-driver.c')
0 files changed, 0 insertions, 0 deletions