diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-09-12 13:32:50 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-09-12 13:32:50 +0200 |
commit | 30e50fe332679825e6f54936c7c5e97bf109584d (patch) | |
tree | db84205596207a8503b4133d6bc75fbd30342b6c /linux/drivers/media/video/saa7114.c | |
parent | 55c585d89d06e29009f8bdc652c54e3de0993c4a (diff) | |
download | mediapointer-dvb-s2-30e50fe332679825e6f54936c7c5e97bf109584d.tar.gz mediapointer-dvb-s2-30e50fe332679825e6f54936c7c5e97bf109584d.tar.bz2 |
v4l2: add support for bus-based I2C drivers
From: Hans Verkuil <hverkuil@xs4all.nl>
Two new headers were added: one for I2C drivers that are only used
by V4L2 drivers converted to the new bus-based I2C API, and one that
can be used by both converted and unconverted drivers (at the expense of
some additional overhead).
To support the legacy I2C API a helper function was added to v4l2-common.c.
These headers take care of all the 'boilerplate' code that all V4L2 I2C drivers
have in common and will automatically support the bus-based I2C API introduced
in kernel 2.6.22.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---
linux/drivers/media/video/v4l2-common.c | 37 +++++
linux/include/media/v4l2-common.h | 11 +
linux/include/media/v4l2-i2c-drv-legacy.h | 207 ++++++++++++++++++++++++++++++
linux/include/media/v4l2-i2c-drv.h | 199 ++++++++++++++++++++++++++++
4 files changed, 454 insertions(+)
Diffstat (limited to 'linux/drivers/media/video/saa7114.c')
0 files changed, 0 insertions, 0 deletions