From 7000e325de875fa8a5dd3885c8e8f0f12cf71eaf Mon Sep 17 00:00:00 2001 From: Prabhakar Lad Date: Sat, 16 Aug 2014 17:33:18 -0300 Subject: [PATCH] [media] media: davinci: remove unneeded dependency ARCH_OMAP3 this patch removes unneeded dependency of ARCH_OMAP3 on VIDEO_DM6446_CCDC. Also the top level platform Makefile descended into davinci/ without any dependency so just drop the dependency obj-y, as obj-$(CONFIG_ARCH_DAVINCI) already exists. Reported-by: Andreas Ruprecht Signed-off-by: Lad, Prabhakar Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/Makefile | 2 -- drivers/media/platform/davinci/Kconfig | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index 8d3fcfef099c..579046bc276f 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -47,8 +47,6 @@ obj-$(CONFIG_SOC_CAMERA) += soc_camera/ obj-$(CONFIG_VIDEO_RENESAS_VSP1) += vsp1/ -obj-y += davinci/ - obj-y += omap/ ccflags-y += -I$(srctree)/drivers/media/i2c diff --git a/drivers/media/platform/davinci/Kconfig b/drivers/media/platform/davinci/Kconfig index b04016e8532d..d9e1ddb586b1 100644 --- a/drivers/media/platform/davinci/Kconfig +++ b/drivers/media/platform/davinci/Kconfig @@ -31,7 +31,7 @@ config VIDEO_DAVINCI_VPIF_CAPTURE config VIDEO_DM6446_CCDC tristate "TI DM6446 CCDC video capture driver" depends on VIDEO_V4L2 - depends on ARCH_DAVINCI || ARCH_OMAP3 || COMPILE_TEST + depends on ARCH_DAVINCI || COMPILE_TEST depends on HAS_DMA select VIDEOBUF_DMA_CONTIG help -- 2.20.1