Commit 5fb7652b authored by Jean Delvare's avatar Jean Delvare Committed by Tomi Valkeinen

video: exynos: Add a dependency to the menu

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: default avatarJean 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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent c58f6616
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
menuconfig EXYNOS_VIDEO menuconfig EXYNOS_VIDEO
bool "Exynos Video driver support" bool "Exynos Video driver support"
depends on ARCH_S5PV210 || ARCH_EXYNOS
help help
This enables support for EXYNOS Video device. This enables support for EXYNOS Video device.
...@@ -15,7 +16,6 @@ if EXYNOS_VIDEO ...@@ -15,7 +16,6 @@ if EXYNOS_VIDEO
config EXYNOS_MIPI_DSI config EXYNOS_MIPI_DSI
bool "EXYNOS MIPI DSI driver support." bool "EXYNOS MIPI DSI driver support."
depends on ARCH_S5PV210 || ARCH_EXYNOS
select GENERIC_PHY select GENERIC_PHY
help help
This enables support for MIPI-DSI device. This enables support for MIPI-DSI device.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment