From: Prabhakar Lad Date: Sat, 16 Aug 2014 20:33:18 +0000 (-0300) Subject: [media] media: davinci: remove unneeded dependency ARCH_OMAP3 X-Git-Tag: firefly_0821_release~176^2~2474^2~546 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7000e325de875fa8a5dd3885c8e8f0f12cf71eaf;p=firefly-linux-kernel-4.4.55.git [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 --- 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