FIMC-Lite driver accesses functions which are defined in files attached to S5P_FIMC. Without this patch, if only FIMC-Lite is selected, following errors are observed for missing symbols: drivers/built-in.o: In function `fimc_md_create_links': fimc-mdevice.c:641: undefined reference to `fimc_sensor_notify' drivers/built-in.o: In function `fimc_md_link_notify': fimc-mdevice.c:838: undefined reference to `fimc_ctrls_delete' fimc-mdevice.c:854: undefined reference to `fimc_capture_ctrls_create' drivers/built-in.o: In function `fimc_md_init': fimc-mdevice.c:1018: undefined reference to `fimc_register_driver' drivers/built-in.o: In function `fimc_md_exit': fimc-mdevice.c:1028: undefined reference to `fimc_unregister_driver' make: *** [vmlinux] Error 1 Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> --- drivers/media/video/s5p-fimc/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-fimc/Kconfig b/drivers/media/video/s5p-fimc/Kconfig index a564f7e..17a1f8d 100644 --- a/drivers/media/video/s5p-fimc/Kconfig +++ b/drivers/media/video/s5p-fimc/Kconfig @@ -35,7 +35,7 @@ if ARCH_EXYNOS config VIDEO_EXYNOS_FIMC_LITE tristate "EXYNOS FIMC-LITE camera interface driver" - depends on I2C + depends on I2C && VIDEO_S5P_FIMC select VIDEOBUF2_DMA_CONTIG help This is a V4L2 driver for Samsung EXYNOS4/5 SoC FIMC-LITE camera -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html