summaryrefslogtreecommitdiffstats
path: root/lib/clz_ctz.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-08-28 10:28:27 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-10-31 04:33:02 -0200
commit774cc4c289152bfb77806ccae722a9ae2d29dd02 (patch)
treed1251373eea66faece4cf0c8643944036c7e2d3a /lib/clz_ctz.c
parentcf326dfebe612bf56c83d8fca7a7c1d1584c061f (diff)
downloadop-kernel-dev-774cc4c289152bfb77806ccae722a9ae2d29dd02.zip
op-kernel-dev-774cc4c289152bfb77806ccae722a9ae2d29dd02.tar.gz
[media] V4L2: add a v4l2-clk helper macro to produce an I2C device ID
To obtain a clock reference consumers supply their device object to the V4L2 clock framework. The latter then uses the consumer device name to find a matching clock. For that to work V4L2 clock providers have to provide the same device name, when registering clocks. This patch adds a helper macro to generate a suitable device name for I2C devices. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'lib/clz_ctz.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud