summaryrefslogtreecommitdiff
path: root/linux/include/media/v4l2-common.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-02-26 16:31:15 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-02-26 16:31:15 -0300
commitf42fd11e76e077c2e4ccd61627cdb53ab7e32e8d (patch)
tree9e4762aa354bafad8f789d4d4dbb1fb5ccc23239 /linux/include/media/v4l2-common.h
parentab59a93feb6d2b697c06ee5fad3ff40a7d2b34ed (diff)
parentc25f637daca2ca532f5cf0bb6f32decb8308953c (diff)
downloadmediapointer-dvb-s2-f42fd11e76e077c2e4ccd61627cdb53ab7e32e8d.tar.gz
mediapointer-dvb-s2-f42fd11e76e077c2e4ccd61627cdb53ab7e32e8d.tar.bz2
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-usbvision
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/include/media/v4l2-common.h')
-rw-r--r--linux/include/media/v4l2-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-common.h b/linux/include/media/v4l2-common.h
index de785da45..7779d9c93 100644
--- a/linux/include/media/v4l2-common.h
+++ b/linux/include/media/v4l2-common.h
@@ -154,6 +154,8 @@ struct v4l2_subdev *v4l2_i2c_new_probed_subdev(struct i2c_adapter *adapter,
/* Initialize an v4l2_subdev with data from an i2c_client struct */
void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client,
const struct v4l2_subdev_ops *ops);
+/* Return i2c client address of v4l2_subdev. */
+unsigned short v4l2_i2c_subdev_addr(struct v4l2_subdev *sd);
enum v4l2_i2c_tuner_type {
ADDRS_RADIO, /* Radio tuner addresses */