video: clcd-versatile: Depend on ARM
authorMark Brown <broonie@linaro.org>
Sun, 27 Jul 2014 17:04:18 +0000 (18:04 +0100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 28 Jul 2014 08:53:52 +0000 (10:53 +0200)
The Versatile CLCD helpers call dma_alloc_writecombine() which is only
available on ARM and AVR32, meaning they won't build on other platforms
including arm64. Unfortunately the current Kconfig enables the symbol
by default if ARCH_VEXPRESS is defined which means that it is enabled on
arm64 when building for the ARM reference platforms and models for ARMv8
since they have many hardware similarities with their pre-ARMv8 systems.

Since all the systems that need the helpers are ARM systems fix this by
adding a dependency on ARM.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/video/fbdev/Kconfig

index bdf4630722475e5a4e8d108bde621cfeb07e3aff..e05a58d759bee709fb13d68089abeb7e0f1add38 100644 (file)
@@ -293,6 +293,7 @@ config FB_ARMCLCD
 # Helper logic selected only by the ARM Versatile platform family.
 config PLAT_VERSATILE_CLCD
        def_bool ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS
+       depends on ARM
        depends on FB_ARMCLCD && FB=y
 
 config FB_ACORN
This page took 0.027256 seconds and 5 git commands to generate.