Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30375611rwd; Thu, 6 Jul 2023 05:10:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlHP6C3RHm3fJrOB9chJQ7ZHRv8+l6v+V8tp3leLVh5D2b3OLUBB4vWUtElgbqacEbQq4MGi X-Received: by 2002:a17:902:7405:b0:1b5:2fdf:5bd8 with SMTP id g5-20020a170902740500b001b52fdf5bd8mr1718371pll.8.1688645451931; Thu, 06 Jul 2023 05:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688645451; cv=none; d=google.com; s=arc-20160816; b=vSl8JyQ2dTVfcWGVBik/5ShW2JSOTCGQqQPdPKhTu0t+60ydsAxZybsvXd5+Q7KiHa PkO8OkpxpeM/2+VeJcGypox5Dzd1cl7KKr15pXBm/rpcps1vfgEkF6KwPnYJ3BrXcMW9 DSBFGeplprUMNpuHMLy6r6j4BOpogg30pJVLljFYgirFMOqpsLevEjxV8iU3Ew+dKW5X aq80aK8VZGKbmkQv9FKGuSbHLVHogdxfXQ0JLUu/Yl/N+oos8VamPaNs6+uT9bCL66w0 s2XAMEWb3GM4nmLgL/rxgsNstJpyONNM8a8QnhBgxA43mWnKgVe+UD4NZ/e4X1MwiALQ Pdgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=zWs8bwHH6cZjAmtCgxp9HJ8bEp8/99TbL0yjvu7oPvs=; fh=gEa+jXONTRUMy72sPLZS/6Tev+RvK53AuTJh7z6JgZA=; b=uJDnHcvvG6T4Q88tlgK8/YVKiYPmx7l0oOVGVAjVoHk/oEkpnuleIh8h08BKoNimNy QwOCvOgQI8n2awSyUx/HTroDM/LTj2iwSjDFBZODDUd1kgY9ri6qqF9tpUKhgl8cPLPF 388A3VcMV0VbGZthhh92EoJwtrbJTBQ6ZmZM/agsLWEdkDhUWD1w64JMLycZPFEJlrBT vp3eXLRYfZa7i9zH31u2g6iPHWR7EhZKIJdq6FNz9xAzLTGQJdZBOnw2Ha/L9SWpNbkx datxlmHgtLTEmK7jIbEDWSwVaLi+qod9qpUjFMYpp219V2ipNtHbE1rnK96qzoLNKLNY NjsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a170902f39400b001b89654fa42si1067502ple.476.2023.07.06.05.10.37; Thu, 06 Jul 2023 05:10:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232621AbjGFLmh (ORCPT + 99 others); Thu, 6 Jul 2023 07:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232505AbjGFLmd (ORCPT ); Thu, 6 Jul 2023 07:42:33 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8697B1BEE for ; Thu, 6 Jul 2023 04:42:11 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5979:7b6f:39a:b9cb]) by laurent.telenet-ops.be with bizsmtp id Hni62A00445Xpxs01ni6ha; Thu, 06 Jul 2023 13:42:08 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qHNN3-000fav-Hy; Thu, 06 Jul 2023 13:42:06 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qHNN7-000QkI-Td; Thu, 06 Jul 2023 13:42:05 +0200 From: Geert Uytterhoeven To: Mark Brown , Greg Kroah-Hartman , "Rafael J . Wysocki" , Lee Jones , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Benjamin Gray , Christophe Leroy Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/3] regmap: REGMAP_SLIMBUS should select REGMAP Date: Thu, 6 Jul 2023 13:42:03 +0200 Message-Id: <7519324a34015e1c046227269409fef688889f4f.1688643442.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If CONFIG_SND_SOC_WCD934X=y, CONFIG_COMPILE_TEST=y, CONFIG_MFD_WCD934X=n, CONFIG_REGMAP=n: sound/soc/codecs/wcd934x.c:518:38: error: array type has incomplete element type ‘struct regmap_range_cfg’ 518 | static const struct regmap_range_cfg wcd934x_ifc_ranges[] = { | ^~~~~~~~~~~~~~~~~~ Fix this by making REGMAP_SLIMBUS select REGMAP. Drop the selection of REGMAP by MFD_WCD934X, as this is not needed (now both REGMAP_SLIMBUS and REGMAP_IRQ select REGMAP). Signed-off-by: Geert Uytterhoeven --- drivers/base/regmap/Kconfig | 1 + drivers/mfd/Kconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig index e25cc619c75de3d9..c3a260ed4e864959 100644 --- a/drivers/base/regmap/Kconfig +++ b/drivers/base/regmap/Kconfig @@ -34,6 +34,7 @@ config REGMAP_I2C config REGMAP_SLIMBUS tristate depends on SLIMBUS + select REGMAP config REGMAP_SPI tristate diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 0b6af476f554a191..5857dad2c64828fa 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -2121,7 +2121,6 @@ config MFD_STMFX config MFD_WCD934X tristate "Support for WCD9340/WCD9341 Codec" depends on SLIMBUS - select REGMAP select REGMAP_SLIMBUS select REGMAP_IRQ select MFD_CORE -- 2.34.1