video: tegra: Correct a Kconfig warning with VIDCONSOLE_AS_LCD
authorSimon Glass <sjg@chromium.org>
Wed, 17 Feb 2016 01:09:19 +0000 (18:09 -0700)
committerTom Warren <twarren@nvidia.com>
Wed, 17 Feb 2016 20:36:16 +0000 (13:36 -0700)
This new feature causes a Kconfig warning on boards without a display
enabled. Fix this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/Kconfig

index 3540eda..ba6983f 100644 (file)
@@ -14,7 +14,7 @@ config TEGRA_COMMON
        select DM_SPI
        select DM_SPI_FLASH
        select OF_CONTROL
-       select VIDCONSOLE_AS_LCD
+       select VIDCONSOLE_AS_LCD if DM_VIDEO
 
 config TEGRA_ARMV7_COMMON
        bool "Tegra 32-bit common options"