From patchwork Wed Oct 23 11:44:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 3087981 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C16099F372 for ; Wed, 23 Oct 2013 11:47:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8C38520249 for ; Wed, 23 Oct 2013 11:47:15 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C918E20218 for ; Wed, 23 Oct 2013 11:47:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B00F8E6FD2 for ; Wed, 23 Oct 2013 04:47:10 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-bk0-f46.google.com (mail-bk0-f46.google.com [209.85.214.46]) by gabe.freedesktop.org (Postfix) with ESMTP id 80431E5C13 for ; Wed, 23 Oct 2013 04:46:58 -0700 (PDT) Received: by mail-bk0-f46.google.com with SMTP id 6so238358bkj.5 for ; Wed, 23 Oct 2013 04:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=m/PhpfuVkY29kg2QmVXfNxQtBEz+ktMpntumFCzgXmA=; b=dBa6IE9KKqSHUNK/Cr4p81Ge2uvJw4AWsX4T+fOZS35Ra5j17upCBDv5NRcXfuvM3I aQoqMG3HsUR67gOkfpL33j7W2kv+st0bGNWaPpVbkRjzzswWZAzV7r0PqvlENmjFhK9Y OTEAYHTj73vkPXyciPxGluIMPBqnxZa4YcrN4joatfLNcN989p9vAEQSACzdjVter0Nm tfv86tzMqNMpbI12ibEBo+UQDGhM0JNWJbKr7wwrnkoDzrtQ237fSFSG4noSB7eb/FlO ZMWU1DApf398xrfdmKvn1+GgbSljeXdBgMGb8PNIufGSTZ8IroPljn0IOlobJpvrUlHp J+tw== X-Received: by 10.205.33.134 with SMTP id so6mr89184bkb.9.1382528817130; Wed, 23 Oct 2013 04:46:57 -0700 (PDT) Received: from localhost (port-35855.pppoe.wtnet.de. [46.59.190.236]) by mx.google.com with ESMTPSA id b6sm15941186bko.16.2013.10.23.04.46.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2013 04:46:56 -0700 (PDT) From: Thierry Reding To: David Airlie Subject: [PATCH] drm/armada: Depend on ARM Date: Wed, 23 Oct 2013 13:44:25 +0200 Message-Id: <1382528665-2665-1-git-send-email-treding@nvidia.com> X-Mailer: git-send-email 1.8.4 Cc: Russell King , dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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