Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2200447pxp; Fri, 18 Mar 2022 05:48:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGow++G85eQa0aaJm+7zYtxD3ddLrkitKN2NrI64M7oMoOhgSecA9Rk3X7o5cLBei6QprC X-Received: by 2002:a17:906:fad5:b0:6ce:e056:5918 with SMTP id lu21-20020a170906fad500b006cee0565918mr8810384ejb.562.1647607709066; Fri, 18 Mar 2022 05:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647607709; cv=none; d=google.com; s=arc-20160816; b=JpuSMcwDsRq+TZryiAEzyUz18TOLi1rdzT1A5PKYgI/K5rfYQ+8BAA/mBrUb9q3+sA VoPQz6V0Jsz0dN10kpLvtt2ENDd1km39JZ/ZcuSw/LhTFtN07kadAyr7rZsClbBYWFy4 bYMPBiCu1M0XHJQYnsNeLuy8bvpjpOY5f8IjVV6pdWXQKxQhS2FIhuJAnnFrX+h1RrZN zRmR81HXogAnVfEYLYHpea0x0jkWFTQEZy/kh3nYlA0n/vmYL4RFgHJ0Qx53klh8+ixd P3ZmV3KY8XgZSBU5ztLLwr/zcmwxCtwA6PrRkSmS0Mz913IUlkOIygmhYzELefOOwGwc 3Ebw== 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 :references:in-reply-to:message-id:date:subject:cc:from; bh=d2UbOofGcfTnNBjZ4DQfyqApW8xzUg8Qcr2nhTMhmYQ=; b=QCr1m+WBJxttaYGEMMDYKYSmSHmImXk0sRpZzrCEZZHDIbP4aSRpUz3W683Ux1gtT9 /mqu1Ho1tWJ8YV5aanOhZknW5qvAX3dC5t0cjNoHkluZXCt94Kuouwcu/Gk3w45+iZm1 LogHapzHFC4mGYttBUlsCOcKWdEHdc2tm5V9b+qS9C1n3MVkABMUnmhNIWiw5WaAZX0w 1b1qhLyR7U54PB2xwY1uO5b5lgILnZ/uG+164rglM7YC9gjD6h6+WJoeDzGjTTyjlPOY pMwGkXe7mXOiHZlHvFJVGj0VHIW+zQQiWG44O/xO8zZwRZK0DDN1GK8unCCD3Yywz8oG rbsg== 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 r18-20020a056402235200b00418c2b5be43si3096300eda.293.2022.03.18.05.48.03; Fri, 18 Mar 2022 05:48:29 -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 S231952AbiCRCvA (ORCPT + 99 others); Thu, 17 Mar 2022 22:51:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231939AbiCRCu6 (ORCPT ); Thu, 17 Mar 2022 22:50:58 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF2F1B7C55; Thu, 17 Mar 2022 19:49:40 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4KKT4d1pW1zcb6d; Fri, 18 Mar 2022 10:49:37 +0800 (CST) Received: from dggpemm500015.china.huawei.com (7.185.36.181) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 18 Mar 2022 10:49:39 +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; Fri, 18 Mar 2022 10:49:38 +0800 From: Wang ShaoBo CC: , , , , , , , Subject: [PATCH 1/2] iio:filter:admv8818: Add depends on REGMAP Date: Fri, 18 Mar 2022 10:59:13 +0800 Message-ID: <20220318025914.2614812-2-bobo.shaobowang@huawei.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220318025914.2614812-1-bobo.shaobowang@huawei.com> References: <20220318025914.2614812-1-bobo.shaobowang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.103.91] X-ClientProxiedBy: dggeme707-chm.china.huawei.com (10.1.199.103) 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 Add "depends on REGMAP" to CONFIG_ADMV8818, because admv8818 driver uses structure/symbols such as 'struct regmap_config' which are defined only when CONFIG_REGMAP is set. Fixes: f34fe888ad05 ("iio:filter:admv8818: add support for ADMV8818") Signed-off-by: Wang ShaoBo --- drivers/iio/filter/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/filter/Kconfig b/drivers/iio/filter/Kconfig index 3ae35817ad82..4bbf10f8692c 100644 --- a/drivers/iio/filter/Kconfig +++ b/drivers/iio/filter/Kconfig @@ -7,7 +7,7 @@ menu "Filters" config ADMV8818 tristate "Analog Devices ADMV8818 High-Pass and Low-Pass Filter" - depends on SPI && COMMON_CLK && 64BIT + depends on REGMAP && SPI && COMMON_CLK && 64BIT 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