]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
video: exynos: Add a dependency to the menu
authorJean Delvare <jdelvare@suse.de>
Tue, 8 Apr 2014 10:00:56 +0000 (12:00 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 May 2014 09:55:48 +0000 (12:55 +0300)
All drivers under menu EXYNOS_VIDEO depend on either ARCH_S5PV210 or
ARCH_EXYNOS, so add these as dependencies to the menu itself. This
avoids presenting an empty and useless menu on other architectures.

Then drivers under the menu only need a dependency if they depend on
one of the supported architectures specifically.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/exynos/Kconfig

index fcf2d48ac6d16b5f5ec31b11671b73bd68a98e8e..1f16b4678c714a6326026fac948ffbc3f2927a9f 100644 (file)
@@ -4,6 +4,7 @@
 
 menuconfig EXYNOS_VIDEO
        bool "Exynos Video driver support"
+       depends on ARCH_S5PV210 || ARCH_EXYNOS
        help
          This enables support for EXYNOS Video device.
 
@@ -15,7 +16,6 @@ if EXYNOS_VIDEO
 
 config EXYNOS_MIPI_DSI
        bool "EXYNOS MIPI DSI driver support."
-       depends on ARCH_S5PV210 || ARCH_EXYNOS
        select GENERIC_PHY
        help
          This enables support for MIPI-DSI device.