From patchwork Tue Oct 8 10:34:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Majunath Goudar X-Patchwork-Id: 281400 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from casper.infradead.org (casper.infradead.org [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 D86BE2C0082 for ; Tue, 8 Oct 2013 21:35:44 +1100 (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 1VTUd9-00054F-J1; Tue, 08 Oct 2013 10:35:07 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTUcs-0002IJ-6a; Tue, 08 Oct 2013 10:34:50 +0000 Received: from mail-pd0-x22d.google.com ([2607:f8b0:400e:c02::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTUcp-0002Gq-3e for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2013 10:34:47 +0000 Received: by mail-pd0-f173.google.com with SMTP id p10so8480725pdj.32 for ; Tue, 08 Oct 2013 03:34:24 -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:mime-version:content-type :content-transfer-encoding; bh=OW2jetP9uDCtyFYmnp+ARHPdRcwcn6yKpsjsX5Lor3s=; b=xkCrJHlBWF2ieJICbuuXErb71Totkv26bDqPMGhFE+123JP1rYCjOJQHJHm4//g2ZA 02NJWqj1bBgBjyBwsDtzssp+w5CkfBrXrZ4euYuAJpRORFpOc1r8I5Q87yOx7T4ca+FU 9UhH1YiSd9DGbcKwqiwTtbs9QkWL5xheFrLBJWkC4FGNfTryHC3UOSk6DtEiBNPjgprm 5xa5k/sdyeUabv4H56Ubvx9x98HUJvztrnVW3DDujNQiB0kbIxlsvs2eH9oSsMD9/ALh o0u25OPmsxe8Snvs0hsAYaCU+mG+tVcPBKZ/Ryz04AdWAE22XIN4xuNSLakmTV14p3T1 CkAA== X-Received: by 10.66.242.17 with SMTP id wm17mr2755930pac.102.1381228464748; Tue, 08 Oct 2013 03:34:24 -0700 (PDT) Received: from manjunath-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id lm2sm46332227pab.2.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 03:34:23 -0700 (PDT) From: Majunath Goudar To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] BUS: CCI : Fix arm-cci implicit declarations dependence errors. Date: Tue, 8 Oct 2013 16:04:09 +0530 Message-Id: <1381228449-19575-1-git-send-email-csmanjuvijay@gmail.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131008_063447_246517_C273FF0B X-CRM114-Status: GOOD ( 13.86 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 0.8 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [203.247.149.152 listed in dnsbl.sorbs.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (csmanjuvijay[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Arnd Bergmann , Alexander Shiyan , Tony Lindgren , linux-kernel@vger.kernel.org, Majunath Goudar , nataraja.km@lge.com, Shawn Guo 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 OF dependency to configure the ARM_CCI in drivers/bus/Kconfig. Without this patch, build system can lead to build failure. This was observed during randconfig testing, in which ARM_CCI was enabled w/o OF being enabled. Following was the error: CC drivers/bus/arm-cci.o drivers/bus/arm-cci.c: In function ‘cci_ace_init_ports’: drivers/bus/arm-cci.c:131:2: error: implicit declaration of function ‘of_find_node_by_path’ [-Werror=implicit-function-declaration] cpus = of_find_node_by_path("/cpus"); ^ drivers/bus/arm-cci.c:131:7: warning: assignment makes pointer from integer without a cast [enabled by default] cpus = of_find_node_by_path("/cpus"); ^ cc1: some warnings being treated as errors make[2]: *** [drivers/bus/arm-cci.o] Error 1 make[1]: *** [drivers/bus] Error 2 Signed-off-by: Manjunath Goudar Cc: Tony Lindgren Cc: Shawn Guo Cc: Arnd Bergmann Cc: Alexander Shiyan Cc: linux-kernel@vger.kernel.org --- drivers/bus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index 552373c..e522bd6 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -37,7 +37,7 @@ config OMAP_INTERCONNECT config ARM_CCI bool "ARM CCI driver support" - depends on ARM + depends on ARM && OF help Driver supporting the CCI cache coherent interconnect for ARM platforms.