From patchwork Sun Aug 4 05:01:54 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: 18758 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 770CA23981 for ; Sun, 4 Aug 2013 05:02:07 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id j10sf2875070qcx.2 for ; Sat, 03 Aug 2013 22:02:07 -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=ihQ4d4ViBEZX0Lh46gcKsKk8BcpN8PHqICMAiJ4+xmtMlBHJob6j8QJY1hXonUzM9z Q8sR8DcRFd7BUMY0UoJTwbjwIibgn/d7PYr8d9ItV6sZaY1UmiR478O6oAXyo9VIL1da joOscMDzYxh12olrbvGAJltF/YB50Z5ivZ+9+AIhZD3l3ce/bxFoCjwUUEQb4rm4H1CZ F8UhzzKzeqOI49EPCjIuZlXAki0dn94+Tg1ZwRAfvpf8mlSKbxNyBpC1jEqT+BqMhtz4 KHbX768ox6onjfFFeXko62go0rMw1pptZBbQQWBnO5FPCm7cEN2mhaGy4ObOSEdROiow /4ig== X-Received: by 10.236.110.168 with SMTP id u28mr5850196yhg.32.1375592526799; Sat, 03 Aug 2013 22:02:06 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.83.195 with SMTP id s3ls2180737qey.37.gmail; Sat, 03 Aug 2013 22:02:06 -0700 (PDT) X-Received: by 10.59.2.167 with SMTP id bp7mr4063357ved.67.1375592526590; Sat, 03 Aug 2013 22:02:06 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id mb4si3695071vcb.21.2013.08.03.22.02.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 Aug 2013 22:02:06 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id c13so2041443vea.24 for ; Sat, 03 Aug 2013 22:02:06 -0700 (PDT) X-Received: by 10.52.64.205 with SMTP id q13mr1885062vds.48.1375592526440; Sat, 03 Aug 2013 22:02:06 -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 pc8csp28200vcb; Sat, 3 Aug 2013 22:02:05 -0700 (PDT) X-Received: by 10.68.232.225 with SMTP id tr1mr11483470pbc.143.1375592525106; Sat, 03 Aug 2013 22:02:05 -0700 (PDT) Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by mx.google.com with ESMTPS id ph3si12810834pbc.14.2013.08.03.22.02.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 Aug 2013 22:02:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.171 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=209.85.192.171; Received: by mail-pd0-f171.google.com with SMTP id bv13so2054522pdb.16 for ; Sat, 03 Aug 2013 22:02:04 -0700 (PDT) X-Received: by 10.68.227.4 with SMTP id rw4mr4444794pbc.182.1375592524631; Sat, 03 Aug 2013 22:02:04 -0700 (PDT) Received: from localhost.localdomain ([223.239.128.50]) by mx.google.com with ESMTPSA id ht5sm19538013pbb.29.2013.08.03.22.02.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 Aug 2013 22:02:03 -0700 (PDT) From: Manjunath Goudar To: manjunath.goudar@linaro.org Cc: arnd@linaro.org, patches@linaro.org, linaro-kernel@lists.linaro.org, dsaxena@linaro.org Subject: [PATCH] MFD: Make VEXPRESS MFD controller depends on VEXPRESS systems Date: Sun, 4 Aug 2013 10:31:54 +0530 Message-Id: <1375592514-14213-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: ALoCoQnZxj/ooFbGehjw6UWo6Wr3BG60dT69vn3ETCSZhc6X9A/Rb7NtxUubHn5Mq2IrqVrsMUxA 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.128.179 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.