[PATCH 06/19] drm/etnaviv: allow build with COMPILE_TEST

Noralf Trønnes noralf at tronnes.org
Thu Jan 26 22:56:08 UTC 2017


Make it possible to compile test the driver on other platforms.

Cc: l.stach at pengutronix.de
Cc: linux+etnaviv at armlinux.org.uk
Cc: christian.gmeiner at gmail.com
Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
---
 drivers/gpu/drm/etnaviv/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/etnaviv/Kconfig b/drivers/gpu/drm/etnaviv/Kconfig
index 656c061..cc1731c 100644
--- a/drivers/gpu/drm/etnaviv/Kconfig
+++ b/drivers/gpu/drm/etnaviv/Kconfig
@@ -2,7 +2,7 @@
 config DRM_ETNAVIV
 	tristate "ETNAVIV (DRM support for Vivante GPU IP cores)"
 	depends on DRM
-	depends on ARCH_MXC || ARCH_DOVE
+	depends on ARCH_MXC || ARCH_DOVE || (ARM && COMPILE_TEST)
 	depends on MMU
 	select SHMEM
 	select TMPFS
-- 
2.10.2



More information about the dri-devel mailing list