[PATCH] media: davinci: remove unneeded dependency ARCH_OMAP3

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] media: davinci: remove unneeded dependency ARCH_OMAP3

Lad, Prabhakar
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 <[hidden email]>
Signed-off-by: Lad, Prabhakar <[hidden email]>
---
 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 e5269da..13aef34 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-$(CONFIG_ARCH_OMAP) += omap/
 
 ccflags-y += -I$(srctree)/drivers/media/i2c
diff --git a/drivers/media/platform/davinci/Kconfig b/drivers/media/platform/davinci/Kconfig
index afb3aec..298e1ee 100644
--- a/drivers/media/platform/davinci/Kconfig
+++ b/drivers/media/platform/davinci/Kconfig
@@ -26,7 +26,7 @@ config VIDEO_DAVINCI_VPIF_CAPTURE
 
 config VIDEO_DM6446_CCDC
  tristate "TI DM6446 CCDC video capture driver"
- depends on VIDEO_V4L2 && (ARCH_DAVINCI || ARCH_OMAP3)
+ depends on VIDEO_V4L2 && ARCH_DAVINCI
  select VIDEOBUF_DMA_CONTIG
  help
    Enables DaVinci CCD hw module. DaVinci CCDC hw interfaces
--
1.9.1

_______________________________________________
Davinci-linux-open-source mailing list
[hidden email]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Loading...