]> git.baikalelectronics.ru Git - kernel.git/commit
[media] fix compilation with both V4L2 and I2C as 'm'
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 15:24:35 +0000 (12:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 18:09:38 +0000 (15:09 -0300)
commit7117b5b78af6eeee614aeeedbe8b9b0b6882f9b2
tree4079cfa3f1a08affca33e1245c8438d66830216c
parentea3a4bb5ccf166fb0db85071e8b6b73abe3215d4
[media] fix compilation with both V4L2 and I2C as 'm'

When config options are:
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2=m
CONFIG_I2C=m

Compilation breaks, as reported by:
https://bugzilla.kernel.org/show_bug.cgi?id=55681

Before changeset 2b86116b8ddd062cde01f871c41c7fa6dde59e37,
no compilation errors occurred. However, the I2C code there at
v4l2-device was incorrectly disabled.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/Makefile