V4L/DVB (10691): v4l2-common: add v4l2_i2c_subdev_addr()
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 21 Feb 2009 21:08:41 +0000 (18:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:54 +0000 (12:42 -0300)
commitab373190813a2e89f9ab7338c6b106804611f2b7
tree104cb4edf5f751441f3cabc7ac768dc98c661a5d
parent81dde91f640d6dea89229bb00c4ff38739fc1867
V4L/DVB (10691): v4l2-common: add v4l2_i2c_subdev_addr()

Add small function to retrieve the i2c address from a v4l2_subdev
pointer.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-common.c
include/media/v4l2-common.h