@@ -37,7 +37,11 @@ config VIDEO_PCI_SKELETON
# Used by drivers that need tuner.ko
config VIDEO_TUNER
tristate
- depends on MEDIA_TUNER
+
+config VIDEO_TUNER_MODULE
+ tristate # must not be built-in if MEDIA_TUNER=m because of I2C
+ default y if VIDEO_TUNER=y || MEDIA_TUNER=y
+ default m if VIDEO_TUNER=m
# Used by drivers that need v4l2-mem2mem.ko
config V4L2_MEM2MEM_DEV
@@ -21,7 +21,7 @@ obj-$(CONFIG_VIDEO_V4L2) += videodev.o
obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o
obj-$(CONFIG_VIDEO_V4L2) += v4l2-dv-timings.o
-obj-$(CONFIG_VIDEO_TUNER) += tuner.o
+obj-$(CONFIG_VIDEO_TUNER_MODULE) += tuner.o
obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o