drm/etnaviv: allow build with COMPILE_TEST
authorNoralf Trønnes <noralf@tronnes.org>
Thu, 26 Jan 2017 22:56:08 +0000 (23:56 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Jan 2017 14:23:47 +0000 (15:23 +0100)
Make it possible to compile test the driver on other platforms.

Cc: l.stach@pengutronix.de
Cc: linux+etnaviv@armlinux.org.uk
Cc: christian.gmeiner@gmail.com
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170126225621.12314-7-noralf@tronnes.org
drivers/gpu/drm/etnaviv/Kconfig

index 656c061..cc1731c 100644 (file)
@@ -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