Searched hist:"8 ffbc6559493c64d6194c92d856196fdaeb8a5fb" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/media/ |
H A D | v4l2-common.h | diff 8ffbc6559493c64d6194c92d856196fdaeb8a5fb Wed Sep 12 06:32:50 CDT 2007 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (6451): v4l2: add support for bus-based I2C drivers
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>
|
/openbmc/linux/drivers/media/ |
H A D | Kconfig | diff a9254475bbfbed5f0596d952c6a3c9806e19dd0b Tue Jan 29 15:32:35 CST 2008 Mauro Carvalho Chehab <mchehab@infradead.org> V4L/DVB (7115): Fix bug #9833: regression when compiling V4L without I2C
Adrian Bunk reported:
> > Commit 8ffbc6559493c64d6194c92d856196fdaeb8a5fb causes the following > > compile error with CONFIG_VIDEO_DEV=y/m, CONFIG_I2C=n: > > > > <-- snip --> > > > > ... > > MODPOST 26 modules > > ERROR: "i2c_attach_client" [drivers/media/video/v4l2-common.ko] undefined! > > make[2]: *** [__modpost] Error 1 > > > > <-- snip -->
...
And what should happen if CONFIG_VIDEO_DEV=y, CONFIG_I2C=m?
CC: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|