From: Mark Brown <broonie@linaro.org>
Date: Thu, 12 Dec 2013 17:02:57 +0000 (+0000)
Subject: video: amba-clcd: Make CLCD driver available on more platforms
X-Git-Tag: firefly_0821_release~3680^2~36^2~64^2~3
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=daba0d21c3dca231f6c6ac0a69c34c7d74f3abbb;p=firefly-linux-kernel-4.4.55.git

video: amba-clcd: Make CLCD driver available on more platforms

The CLCD driver is used on ARM reference models for ARMv8 so add ARM64
to the list of dependencies. The driver also has no build time dependencies
on ARM (stubs are provided for ARM-specific DMA functions in the code) so
make it available with COMPILE_TEST in order to maximise build coverage.

Signed-off-by: Mark Brown <broonie@linaro.org>
---

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 2e937bdace6f..9d05f59048bf 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -312,7 +312,8 @@ config FB_PM2_FIFO_DISCONNECT
 
 config FB_ARMCLCD
 	tristate "ARM PrimeCell PL110 support"
-	depends on FB && ARM && ARM_AMBA
+	depends on ARM || ARM64 || COMPILE_TEST
+	depends on FB && ARM_AMBA
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT