From patchwork Sun Jul 27 17:04:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 34341 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AFE8A20AE8 for ; Sun, 27 Jul 2014 17:04:43 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id m1sf44304304oag.11 for ; Sun, 27 Jul 2014 10:04:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:date :message-id:subject:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=/v0qSW+NCRWY7iD3nPikrsrzyJWZ0nhe2lUxuuM2eg4=; b=PafjWXEpq+ioPuLkocy70K0rE+WyXP+/UWX84PbtrLdwMRS3rzK9gwllaxqNokJyhc dhj5qLW1ip8iScICgZckzqFGLP/VMMnMhgD5K1XuB9QBH0K3LgN1lhCyNGclihplm86b /YU431IdLj85ZW7EEdRYWKLpOhH/ppKbUcICVLfVdMBxGiY7O1e5FXYlD5sr+cy+riTf J/6D+sJO6ft5wsj+o+zHZ/D1GQpTglpQ6xuoBNbR1OJH68xxvq49dsIn1qxzWVrDRSSr mJmo8xXkJa0sz6O9n8zwVNyfbqpvoCtx79hvpBrQqTky6bq+1ri/7u0DSMRagXx4oKIZ O6ag== X-Gm-Message-State: ALoCoQm6UYUMm8KuRY9b4JawuwZck1dQSm2XGunsCXhreqcN+qzzxgqQKJX3uVH8DwFs/+/r+r5s X-Received: by 10.182.18.8 with SMTP id s8mr13225042obd.21.1406480683289; Sun, 27 Jul 2014 10:04:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.50.77 with SMTP id r71ls1891844qga.71.gmail; Sun, 27 Jul 2014 10:04:43 -0700 (PDT) X-Received: by 10.224.79.139 with SMTP id p11mr17344048qak.93.1406480683110; Sun, 27 Jul 2014 10:04:43 -0700 (PDT) Received: from mail-qg0-f42.google.com (mail-qg0-f42.google.com [209.85.192.42]) by mx.google.com with ESMTPS id r19si27469341qgd.67.2014.07.27.10.04.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 27 Jul 2014 10:04:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.192.42 as permitted sender) client-ip=209.85.192.42; Received: by mail-qg0-f42.google.com with SMTP id j5so7411036qga.29 for ; Sun, 27 Jul 2014 10:04:42 -0700 (PDT) X-Received: by 10.224.2.70 with SMTP id 6mr50629582qai.18.1406480682926; Sun, 27 Jul 2014 10:04:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.96.16.166 with SMTP id h6csp166948qdd; Sun, 27 Jul 2014 10:04:42 -0700 (PDT) X-Received: by 10.66.151.194 with SMTP id us2mr13769210pab.15.1406480681434; Sun, 27 Jul 2014 10:04:41 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bp9si7652011pdb.91.2014.07.27.10.04.41 for ; Sun, 27 Jul 2014 10:04:41 -0700 (PDT) Received-SPF: none (google.com: linux-fbdev-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752075AbaG0REk (ORCPT ); Sun, 27 Jul 2014 13:04:40 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:58046 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751832AbaG0REk (ORCPT ); Sun, 27 Jul 2014 13:04:40 -0400 Received: from cpc11-sgyl31-2-0-cust672.sgyl.cable.virginm.net ([94.175.94.161] helo=debutante) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XBRs3-00026M-NA; Sun, 27 Jul 2014 17:04:32 +0000 Received: from broonie by debutante with local (Exim 4.83) (envelope-from ) id 1XBRs0-000762-SC; Sun, 27 Jul 2014 18:04:24 +0100 From: Mark Brown To: Linus Walleij , Arnd Bergmann , Tomi Valkeinen , Jean-Christophe Plagniol-Villard Cc: linux-fbdev@vger.kernel.org, linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org, Mark Brown Date: Sun, 27 Jul 2014 18:04:18 +0100 Message-Id: <1406480658-27243-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 2.0.1 X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mezzanine.sirena.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH] video: clcd-versatile: Depend on ARM X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-fbdev-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: broonie@kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.192.42 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Mark Brown The Versatile CLCD helpers call dma_alloc_writecombine() which is only available on ARM and AVR32, meaning they won't build on other platforms including arm64. Unfortunately the current Kconfig enables the symbol by default if ARCH_VEXPRESS is defined which means that it is enabled on arm64 when building for the ARM reference platforms and models for ARMv8 since they have many hardware similarities with their pre-ARMv8 systems. Since all the systems that need the helpers are ARM systems fix this by adding a dependency on ARM. Signed-off-by: Mark Brown --- drivers/video/fbdev/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index e83ed760141b..ce7c76676a70 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -293,6 +293,7 @@ config FB_ARMCLCD # Helper logic selected only by the ARM Versatile platform family. config PLAT_VERSATILE_CLCD def_bool ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS + depends on ARM depends on FB_ARMCLCD && FB=y config FB_ACORN