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 X-Patchwork-Id: 264465 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from casper.infradead.org (unknown [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 219EA2C008A for ; Sun, 4 Aug 2013 18:01:44 +1000 (EST) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V5tFw-0006Wh-G1; Sun, 04 Aug 2013 08:01:36 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V5tFu-0005MB-9g; Sun, 04 Aug 2013 08:01:34 +0000 Received: from mail-pd0-f181.google.com ([209.85.192.181]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V5tFq-0005La-Sx for linux-arm-kernel@lists.infradead.org; Sun, 04 Aug 2013 08:01:31 +0000 Received: by mail-pd0-f181.google.com with SMTP id g10so2129382pdj.26 for ; Sun, 04 Aug 2013 01:01:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=qhK+4/OVOUh0Ug2/Xi6aZlCqR0EXC4D+R3ZUKkhQk+E=; b=RaXOrFRdwkoUC7MhDLryNqRYZmlnx2hg6huj1UwUb/apXs51g/kLIfmCN/tlEuFIhz 1i5ScYHgLotHkEkHfGQJiMGo9TNhkm/TUHtrxWeoU4kesnHjHGpdyCqfzDHUqfclPu8Q f9F7bjfBiWZz7ory6KNDfoLb/UH4W8vcMvrQmH1Fy750b4hBs8rz7etUB292UgLzSXXF fQZkwumNwREDgcBzXV8RPOuzPrQzejaYtcDjNh1ILNt2Iq+FEoLQb5UBFSkocmLXuGao LqsrQwlX3MEMGbvv3L/8xBSs5WEDVymt440jTPPPWeHe9LFOfnzkqEeSvSgiwJm6+Kci eMOw== 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 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: ALoCoQk/V8SsWD6qLpcxf4unFKvMgBC+2ZyPHvrIodJCDaZnxDXoz3b6P+03JYu/GYx9JtLE4lUg X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130804_040131_047572_8EA8E0B0 X-CRM114-Status: GOOD ( 11.47 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.192.181 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linaro-kernel@lists.linaro.org, Samuel Ortiz , Arnd Bergmann , patches@linaro.org, manjunath.goudar@linaro.org, dsaxena@linaro.org, Lee Jones , arnd@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org 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.