From patchwork Sun Aug 4 08:00:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: manjunath.goudar@linaro.org X-Patchwork-Id: 18760 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 47A1423981 for ; Sun, 4 Aug 2013 08:01:11 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id a11sf2968780qcx.1 for ; Sun, 04 Aug 2013 01:01:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to:from:to:cc :subject:date:message-id:x-mailer:mime-version:x-gm-message-state :x-removed-original-auth:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type:content-transfer-encoding; bh=qhK+4/OVOUh0Ug2/Xi6aZlCqR0EXC4D+R3ZUKkhQk+E=; b=Esm97LSElVxRFhl4E+cgMblfxSCHteQBMf3+BLdNGw5hDjE7aHBkqP5nv0hWVecnT1 sz5iTOtpZyMaWzpq0foMhk4Yw92k/xDxl4vEByiWIQU2Ylm7COI36qZcbJIZnu7rCrGK xPN7R7HOKXnCaYQlIQg08YXfYf0RXgLOxqMorsbzPcrq15W1Bj8KEid5LrkBf04nmzUU BmYRerSoX/LeFZTlWKmvVzWHWdpdHiaSHu5sHlRk5CgNfl/YvSJoig6VIT8SKw8O1RMq qc1XpfUR7WcsdT0Nm0IdXM+2gi3LFF+BntmpCuF61RTR/McCsmR1og//MTtUaGMbSRuo SruQ== X-Received: by 10.236.169.196 with SMTP id n44mr6453059yhl.9.1375603270865; Sun, 04 Aug 2013 01:01:10 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.107.71 with SMTP id ha7ls59077qeb.77.gmail; Sun, 04 Aug 2013 01:01:10 -0700 (PDT) X-Received: by 10.58.164.34 with SMTP id yn2mr4248343veb.56.1375603270746; Sun, 04 Aug 2013 01:01:10 -0700 (PDT) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx.google.com with ESMTPS id k8si1585245vcf.75.2013.08.04.01.01.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 04 Aug 2013 01:01:10 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.42; Received: by mail-vb0-f42.google.com with SMTP id e12so1925055vbg.15 for ; Sun, 04 Aug 2013 01:01:10 -0700 (PDT) X-Received: by 10.221.47.193 with SMTP id ut1mr4245458vcb.8.1375603270630; Sun, 04 Aug 2013 01:01:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp33949vcb; Sun, 4 Aug 2013 01:01:10 -0700 (PDT) X-Received: by 10.66.233.73 with SMTP id tu9mr18821986pac.124.1375603269701; Sun, 04 Aug 2013 01:01:09 -0700 (PDT) Received: from mail-pb0-f42.google.com (mail-pb0-f42.google.com [209.85.160.42]) by mx.google.com with ESMTPS id i3si13401787pac.132.2013.08.04.01.01.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 04 Aug 2013 01:01:09 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.42 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=209.85.160.42; Received: by mail-pb0-f42.google.com with SMTP id un15so2210397pbc.15 for ; Sun, 04 Aug 2013 01:01:09 -0700 (PDT) X-Received: by 10.68.143.199 with SMTP id sg7mr16440111pbb.13.1375603269079; Sun, 04 Aug 2013 01:01:09 -0700 (PDT) Received: from localhost.localdomain ([223.239.245.115]) by mx.google.com with ESMTPSA id s5sm16949374pbo.38.2013.08.04.01.01.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 04 Aug 2013 01:01:08 -0700 (PDT) From: Manjunath Goudar To: linux-arm-kernel@lists.infradead.org Cc: patches@linaro.org, arnd@linaro.org, dsaxena@linaro.org, manjunath.goudar@linaro.org, linaro-kernel@lists.linaro.org, Arnd Bergmann , Samuel Ortiz , Lee Jones Subject: [PATCH] MFD: Make VEXPRESS MFD controller depends on VEXPRESS systems Date: Sun, 4 Aug 2013 13:30:49 +0530 Message-Id: <1375603249-27206-1-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnsiw+m7oDS8FZiFHvHA116cnBIJm5MOa1aMbCA1k3zSAjCMlB4Y87WdGHPKaFPg7gl0YFQ X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds a Kconfig dependency on an ARCH_VEXPRESS(it is for both ARM and ARM64) or ARCH_VEXPRESS_CA9X being available before VEXPRESS_CONFIG can be enabled. Without this patch,build system can lead to issues. This was discovered during randconfig testing, in which VEXPRESS_CONFIG was enabled w/o ARCH_VEXPRESS or VEXPRESS_CONFIG being enabled,leading to the following error: CC drivers/mfd/vexpress-config.o drivers/mfd/vexpress-config.c: In function ‘__vexpress_config_func_get’: drivers/mfd/vexpress-config.c:117:4: error: implicit declaration of function ‘of_find_node_by_phandle’ [-Werror=implicit-function-declaration] bridge_node = of_find_node_by_phandle( ^ drivers/mfd/vexpress-config.c:117:16: warning: assignment makes pointer from integer without a cast [enabled by default] bridge_node = of_find_node_by_phandle( Signed-off-by: Manjunath Goudar Cc: Arnd Bergmann Cc: Deepak Saxena Cc: Samuel Ortiz Cc: Lee Jones --- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 633ee43..c9202f6 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1174,7 +1174,7 @@ endmenu config VEXPRESS_CONFIG bool "ARM Versatile Express platform infrastructure" - depends on ARM || ARM64 + depends on ARCH_VEXPRESS || ARCH_VEXPRESS_CA9X4 help Platform configuration infrastructure for the ARM Ltd. Versatile Express.