From: Hans Verkuil Date: Sun, 24 Mar 2013 11:24:19 +0000 (-0300) Subject: [media] ivtv: prepare ivtv for adding const to s_register X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~295 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5656e8b7363c4e248e6372dc34828d3dfb17832;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed