video: vgacon: Don't build on arm64
authorMark Brown <broonie@linaro.org>
Tue, 17 Dec 2013 23:37:01 +0000 (23:37 +0000)
committerMark Brown <broonie@linaro.org>
Fri, 14 Mar 2014 11:40:07 +0000 (11:40 +0000)
arm64 is unlikely to have a VGA console and does not export screen_info
causing build failures if the driver is build, for example in all*config.
Add a dependency on !ARM64 to prevent this.

This list is getting quite long, it may be easier to depend on a symbol
which architectures that do support the driver can select.

Signed-off-by: Mark Brown <broonie@linaro.org>
[tomi.valkeinen@ti.com: moved && to first modified line]
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
(cherry picked from commit ee23794b86689e655cedd616e98c03bc3c74f5ec)

Conflicts:
drivers/video/console/Kconfig

drivers/video/console/Kconfig

index bc922c47d046ef043c3e81e528aabbb9edb5233c..d5fa5f3fe6d1b2e02ad79ddf8bb857806122ca12 100644 (file)
@@ -6,7 +6,7 @@ menu "Console display driver support"
 
 config VGA_CONSOLE
        bool "VGA text console" if EXPERT || !X86
-       depends on !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && !SUPERH && !BLACKFIN && !AVR32 && !MN10300 && (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER)
+       depends on !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && !SUPERH && !BLACKFIN && !AVR32 && !MN10300 && (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && !ARM64
        default y
        help
          Saying Y here will allow you to use Linux in text mode through a