From patchwork Fri Oct 19 00:04:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1614271 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 34C1F3FCFC for ; Fri, 19 Oct 2012 00:06:36 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TP05C-0004Uj-R2; Fri, 19 Oct 2012 00:04:58 +0000 Received: from mail-gg0-f177.google.com ([209.85.161.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TP053-0004U1-3F for linux-arm-kernel@lists.infradead.org; Fri, 19 Oct 2012 00:04:49 +0000 Received: by mail-gg0-f177.google.com with SMTP id h1so2437573gge.36 for ; Thu, 18 Oct 2012 17:04:48 -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:x-mailer:in-reply-to:references; bh=iKgc9JieQTMDfDE517pcc6ZnXFYUUpY/Weg8TERngHw=; b=qgv867Vzyhy4eyyW9uKtY9UGXTWG77lWAUKQNzyJ3KvC/7lLf94lKVxAoJXxvW8yC6 XpRsUpTGdMz/gvYBD1SoGRorAjQ845xim8VM17I+ToVyUwNxEz4ysQM+lj8Tywk+qBjv FwxuvrOIrJN9dIzmjypMwXiRs+13KvjrKIARBaVZFLoOezubyHUwVgz99xXINt9SId+x mxnJX72SrGxm9xogyopSqAltSUHXc1gVIJOl93wRp/CuW5GfGjC8DMoYUYldnKeWCmrL otmW8wEKN2dqPkx6IeTBHDc9GD1GBdciuIQ038I9HR2VYOjnBO7NaB8W+cWxYpdV4EGb QrRg== Received: by 10.236.81.242 with SMTP id m78mr22362391yhe.36.1350605087984; Thu, 18 Oct 2012 17:04:47 -0700 (PDT) Received: from fabio-Latitude-E6410.cps.virtua.com.br ([201.82.136.72]) by mx.google.com with ESMTPS id z30sm118867yhh.6.2012.10.18.17.04.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Oct 2012 17:04:47 -0700 (PDT) From: Fabio Estevam To: rob.herring@calxeda.com Subject: [PATCH v2 2/2] mfd: Kconfig: Let MFD_SYSCON select REGMAP Date: Thu, 18 Oct 2012 21:04:06 -0300 Message-Id: <1350605046-21358-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1350605046-21358-1-git-send-email-festevam@gmail.com> References: <1350605046-21358-1-git-send-email-festevam@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.161.177 listed in list.dnswl.org] -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: Fabio Estevam , sameo@linux.intel.com, broonie@opensource.wolfsonmicro.com, linux-kernel@vger.kernel.org, kernel@pengutronix.de, shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Fabio Estevam Building multi_v7_defconfig for mx6 causes the following build error: CC drivers/mfd/syscon.o drivers/mfd/syscon.c:94: error: variable 'syscon_regmap_config' has initializer but incomplete type drivers/mfd/syscon.c:95: error: unknown field 'reg_bits' specified in initializer drivers/mfd/syscon.c:95: warning: excess elements in struct initializer drivers/mfd/syscon.c:95: warning: (near initialization for 'syscon_regmap_config') drivers/mfd/syscon.c:96: error: unknown field 'val_bits' specified in initializer drivers/mfd/syscon.c:96: warning: excess elements in struct initializer drivers/mfd/syscon.c:96: warning: (near initialization for 'syscon_regmap_config') drivers/mfd/syscon.c:97: error: unknown field 'reg_stride' specified in initializer drivers/mfd/syscon.c:97: warning: excess elements in struct initializer drivers/mfd/syscon.c:97: warning: (near initialization for 'syscon_regmap_config') drivers/mfd/syscon.c: In function 'syscon_probe': drivers/mfd/syscon.c:124: error: invalid use of undefined type 'struct regmap_config' drivers/mfd/syscon.c:125: error: implicit declaration of function 'devm_regmap_init_mmio' drivers/mfd/syscon.c:126: warning: assignment makes pointer from integer without a cast Fix it by selecting REGMAP option. Signed-off-by: Fabio Estevam --- Changes since v1: - No changes. Newly introduced in this series drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index acab3ef..ef56515 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1030,6 +1030,7 @@ config MFD_SYSCON bool "System Controller Register R/W Based on Regmap" depends on OF select REGMAP_MMIO + select REGMAP help Select this option to enable accessing system control registers via regmap.