Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2066381pxp; Mon, 21 Mar 2022 10:31:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJF0ttZQU8F/EqGJKGle6wyx9/62aAxLHbnwAKR6MqNyUQodg/CMHiWKLUTe566PgYfnAD X-Received: by 2002:a17:902:ce02:b0:153:bd65:5c0e with SMTP id k2-20020a170902ce0200b00153bd655c0emr13835000plg.160.1647883895222; Mon, 21 Mar 2022 10:31:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647883895; cv=none; d=google.com; s=arc-20160816; b=We2BtUK/UxlLvIPCdGBo8KhXZP0nF68HgOiOIV9GP+cwhtL8Kpj9Ns+WQpfvueB6Mu lqMVzUq7J1uDAaVjGYKNBNOgpUdvsXUQYi0cXFviYW1I3aFU3bPRGAHM00ZMZlO/FGES 1AEUx90161dQDrfF1tYVIr0OHXsvqY4cD6bGZgeh9atSDw7HuBxknqOZatlCWUOHW3UB V51jof2gZXU0cfib34zhL++rDZW90qAV7bEStDQIa+TYmvbiuRdUUqqAu5iv+8Hdbiuy YziZbYBgG6pVGvwGqeb1l/87RDzD5ivDej8Jo/5PZWJ16ARq3m9rE4fiq/xjb+RN/GoD Afpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from; bh=5su8evJjV1avSpVOgE54gDVbsmgQmzpc944d6ytijJA=; b=W7OYNbHkVSQsXdbXRX7OTM5asIZ5w+NKqUYvvoWxkDk24XpcGta5UZBjwK1kqqeT+k Nt6nXIpFJfPa0NuYlI835izKM5Ls9EagK2FhgYobNWNHRPpSlbUrkgrVR7i3EFi7t2AF /z93UPwriqInKaVKSunkoDcJWm5UQKfxiSwun68O7LD9mR870F3g1YmLAJmP5+OkasGb vPgdcRSgXXypKFY93qQHjpQL5+FumxSmud70AN/KhBQ4wtzVXZ4YJjObCR6VjtlGzg2l Tz/1Efjg1Ab9re4SIPhV0EIP0u1a2V4wxd9hz/obvqipimCleGaVjePHfhwuY8JNTdGa qfEg== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s19-20020a170902a51300b00153b2d1640esi10938264plq.22.2022.03.21.10.31.15; Mon, 21 Mar 2022 10:31:35 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244750AbiCTFqy (ORCPT + 99 others); Sun, 20 Mar 2022 01:46:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234851AbiCTFqv (ORCPT ); Sun, 20 Mar 2022 01:46:51 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35C6E36169; Sat, 19 Mar 2022 22:45:28 -0700 (PDT) Received: from dggpemm500020.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4KLmr96GsSzCqhy; Sun, 20 Mar 2022 13:43:21 +0800 (CST) Received: from dggpemm500015.china.huawei.com (7.185.36.181) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sun, 20 Mar 2022 13:45:26 +0800 Received: from huawei.com (10.175.103.91) by dggpemm500015.china.huawei.com (7.185.36.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.21; Sun, 20 Mar 2022 13:45:25 +0800 From: Wang ShaoBo CC: , , , , , , , , Subject: [PATCH v2] iio:filter:admv8818: select REGMAP_SPI for ADMV8818 Date: Sun, 20 Mar 2022 13:54:57 +0800 Message-ID: <20220320055457.254983-1-bobo.shaobowang@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.103.91] X-ClientProxiedBy: dggeme702-chm.china.huawei.com (10.1.199.98) To dggpemm500015.china.huawei.com (7.185.36.181) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, 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 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org admv8818 driver needs __devm_regmap_init_spi() which is defined when CONFIG_REGMAP_SPI is set and struct regmap_config when CONFIG_REGMAP is set, so automatically select CONFIG_REGMAP_SPI which also sets CONFIG_REGMAP. Fixes: f34fe888ad05 ("iio:filter:admv8818: add support for ADMV8818") Signed-off-by: Wang ShaoBo --- drivers/iio/filter/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/filter/Kconfig b/drivers/iio/filter/Kconfig index 3ae35817ad82..a85b345ea14e 100644 --- a/drivers/iio/filter/Kconfig +++ b/drivers/iio/filter/Kconfig @@ -8,6 +8,7 @@ menu "Filters" config ADMV8818 tristate "Analog Devices ADMV8818 High-Pass and Low-Pass Filter" depends on SPI && COMMON_CLK && 64BIT + select REGMAP_SPI help Say yes here to build support for Analog Devices ADMV8818 2 GHz to 18 GHz, Digitally Tunable, High-Pass and Low-Pass Filter. -- 2.25.1