Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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>

authored by

Jean Delvare and committed by
Tomi Valkeinen
5fb7652b c58f6616

+1 -1
+1 -1
drivers/video/fbdev/exynos/Kconfig
··· 4 4 5 5 menuconfig EXYNOS_VIDEO 6 6 bool "Exynos Video driver support" 7 + depends on ARCH_S5PV210 || ARCH_EXYNOS 7 8 help 8 9 This enables support for EXYNOS Video device. 9 10 ··· 16 15 17 16 config EXYNOS_MIPI_DSI 18 17 bool "EXYNOS MIPI DSI driver support." 19 - depends on ARCH_S5PV210 || ARCH_EXYNOS 20 18 select GENERIC_PHY 21 19 help 22 20 This enables support for MIPI-DSI device.