aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-07-27 13:04:18 -0400
committerArnd Bergmann <arnd@arndb.de>2014-07-28 04:53:52 -0400
commit94f30477fc5be19d26785fe5262eb4f0ac07a3d4 (patch)
tree68c7a8592562dea15d2f00f25455a5829014efc5 /drivers/video
parentec4c4d877becf1c224f45347f4fc0016765e00d0 (diff)
video: clcd-versatile: Depend on ARM
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index bdf463072247..e05a58d759be 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -293,6 +293,7 @@ config FB_ARMCLCD
293# Helper logic selected only by the ARM Versatile platform family. 293# Helper logic selected only by the ARM Versatile platform family.
294config PLAT_VERSATILE_CLCD 294config PLAT_VERSATILE_CLCD
295 def_bool ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS 295 def_bool ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS
296 depends on ARM
296 depends on FB_ARMCLCD && FB=y 297 depends on FB_ARMCLCD && FB=y
297 298
298config FB_ACORN 299config FB_ACORN