[PATCH] drm/armada: Depend on ARM

Thierry Reding thierry.reding at gmail.com
Wed Oct 23 13:44:25 CEST 2013


The driver uses {readl,writel}_relaxed(), which are not available on all
platforms, so restrict the driver to ARM for now. Fixes a build failure
seen on x86_64 allmodconfig.

Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 drivers/gpu/drm/armada/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/armada/Kconfig b/drivers/gpu/drm/armada/Kconfig
index 87e62dd..4b131e7 100644
--- a/drivers/gpu/drm/armada/Kconfig
+++ b/drivers/gpu/drm/armada/Kconfig
@@ -1,6 +1,6 @@
 config DRM_ARMADA
 	tristate "DRM support for Marvell Armada SoCs"
-	depends on DRM && HAVE_CLK
+	depends on DRM && ARM && HAVE_CLK
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
-- 
1.8.4



More information about the dri-devel mailing list