Skip to content

Commit 532ee00

Browse files
author
Mauro Carvalho Chehab
committed
[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 7b34be7, no compilation errors occurred. However, the I2C code there at v4l2-device was incorrectly disabled. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 6ba4d05 commit 532ee00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/v4l2-core/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ifeq ($(CONFIG_COMPAT),y)
1010
videodev-objs += v4l2-compat-ioctl32.o
1111
endif
1212

13-
obj-$(CONFIG_VIDEO_DEV) += videodev.o
13+
obj-$(CONFIG_VIDEO_V4L2) += videodev.o
1414
obj-$(CONFIG_VIDEO_V4L2_INT_DEVICE) += v4l2-int-device.o
1515
obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o
1616

0 commit comments

Comments
 (0)