Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2146847yba; Mon, 15 Apr 2019 06:03:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYa7LGi1YxcEWSHInXITVbXMQMAKkOaw4ucaT5Lr4CJJx5kHMLXr5EWya42UVapwgeVs1/ X-Received: by 2002:a17:902:184:: with SMTP id b4mr54736789plb.26.1555333383274; Mon, 15 Apr 2019 06:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555333383; cv=none; d=google.com; s=arc-20160816; b=U2HO0SA+c5uNeM0+N/vkPwG68GDik5hPLrAAQaFVfmgiv5FOLkwaVrxb74iAnjrBCE nEDGFf3NZLKu5nJG+qSLR6vHncui3RnmEgBulNfIpWHTWmoiaUCw248SfZlFPiMwbalk 3eRdmBBpqHRyJZn6Pk1zZ2osf1VBZHl/IIA90FLC/zQ9R3JDuYbvSxs+o88aI+YsBYHl I9/J9k7dfXz3IoPIcrXxO5P1arKaOn667UnobliTyuK3jMb5kDzhJCPoYWj6rErKngAn uogBwWajPUKqnEWNAgcJ3/rCqR2QE8aY0CApviDqJvPtdxdjtru7begBOWpLMkNigzJ9 RvPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Uoqg7Lij6gfSw8obSklSmoK1AEAdftOqV1de+IcUbno=; b=i0j4rcexX2NXmwGo0u2gbnXWdEINqLVt71wG+R49s88HpTAzawq6gVVME6SNvJA+vs w+BshJN8G2nd94mV+obI2u3FsiXg1CRCpJ+6oESBZh1cKTPFy5M3kZdlRNwoABKx04mF nQrCYANqc/cY+tKS0IcvajFjQ6sKTDdC3s2FlJ4Z7M6h24esnkVlHUfMEug51rilZNS0 JB/UT1mWiwnikqoeRG+mOy3NxtqL+P70ktA7oc5JoX04LFbt6kQKwTcNRCUafNbCvuAE BkNy42vyg+0n3WlxeIY92UyeofFNPWIhEz5pV/Gz06y7krmpZyeLNSSw6DyruUvO9a8m F+Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=KNYzNFpS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1si29951435pgd.110.2019.04.15.06.02.46; Mon, 15 Apr 2019 06:03:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=KNYzNFpS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727395AbfDONB7 (ORCPT + 99 others); Mon, 15 Apr 2019 09:01:59 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:1379 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727117AbfDONB7 (ORCPT ); Mon, 15 Apr 2019 09:01:59 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3FCuF1O017226; Mon, 15 Apr 2019 15:01:09 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=Uoqg7Lij6gfSw8obSklSmoK1AEAdftOqV1de+IcUbno=; b=KNYzNFpSzFx/QHKy/JzqaBrCKworDozun9OgeYec2uVzmRmkAeOgBVEEcaUg0HM/ueL9 J2tptZNE9mOJr/7zAHkY0wCFOPgnQz1x5kB+h3ZuNLHJDKgp1l/sxEfG0MVqVgcbyGeT nejNR0GEPNFZGQCcxU40mzAAc2cheYgoBe8JPE4aJjEAfp+vtIsnRQ3Q7mL+iIvm3HhB qW60PqHuNzY+mnPHH6v/oWhhNIJtTzM51jyFqDW8KJ0CvjPDLB8649Nnfu9mjnLwm94o wC/EtgU4EG9qr5o+FbeaW1wauW02XxBwywnugOTqGf8OKNEP1vGEbb6Txs3EtfepuojB pg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ru4w8300f-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 Apr 2019 15:01:09 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B698238; Mon, 15 Apr 2019 13:01:08 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 852612511; Mon, 15 Apr 2019 13:01:08 +0000 (GMT) Received: from localhost (10.75.127.47) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 15 Apr 2019 15:01:08 +0200 From: Fabrice Gasnier To: , CC: , , , , , , , , , , , , , , Subject: [PATCH 1/2] iio: adc: stm32-dfsdm: fix unmet direct dependencies detected Date: Mon, 15 Apr 2019 15:00:50 +0200 Message-ID: <1555333251-4422-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555333251-4422-1-git-send-email-fabrice.gasnier@st.com> References: <1555333251-4422-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG3NODE1.st.com (10.75.127.7) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-15_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This fixes unmet direct dependencies seen when CONFIG_STM32_DFSDM_ADC is selected: WARNING: unmet direct dependencies detected for IIO_BUFFER_HW_CONSUMER Depends on [n]: IIO [=y] && IIO_BUFFER [=n] Selected by [y]: - STM32_DFSDM_ADC [=y] && IIO [=y] && (ARCH_STM32 [=y] && OF [=y] || COMPILE_TEST [=n]) Fixes: e2e6771c6462 ("IIO: ADC: add STM32 DFSDM sigma delta ADC support") Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 846c7ac..b1b2bde 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -821,6 +821,7 @@ config STM32_DFSDM_ADC depends on (ARCH_STM32 && OF) || COMPILE_TEST select STM32_DFSDM_CORE select REGMAP_MMIO + select IIO_BUFFER select IIO_BUFFER_HW_CONSUMER help Select this option to support ADCSigma delta modulator for -- 2.7.4