Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1041819ybg; Mon, 1 Jun 2020 23:09:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0u7gqnPhnmJSYMLXW3GXaKBhVsdIRdCbsYwbjEhyuDOs6/JgShly7RMjS7nxP1CGq5LrM X-Received: by 2002:a17:906:11c4:: with SMTP id o4mr23074401eja.163.1591078159408; Mon, 01 Jun 2020 23:09:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591078159; cv=none; d=google.com; s=arc-20160816; b=BJ6xkD2h8+XFiqfUKWgLkg78iBH41biccp7/wyzXJ5H+wlmKM+C1yTIj/Dm6YKwlNj eMGY2eqSw/jwjIPirsPecNq+zj95HBcjKapAyDIECVHzOAis/svKKaEQbACR+YgV4Oy8 R5+seQzdrceF84FQ2NdgBIUxB+arV1FSxT1kCSkXizJq80D7KAur+8pFNTSl4Ef9lNFI uf2T3lOd4Qp6pW4ds8eZxsP5opJPmQGBbxT5to4xhFVrtzVnNNsRgStfkVngLnkeg7B7 jRu65qLxzxtnBpoD/R90o7HFpljRKVlUQm4H/xz8tm5jxCX4kEPfVBdJ9kOakP8Efvo2 T05g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=DsL+2R7uM6VLA/QIcZQIJkP3JPgvapJAl4ijHCgR6aE=; b=oEubFCIGuPEOzFcai6qeqXACgOntLf4E+n5xh52CD9a23xqoICc7gl28e3eqE0NNf3 K7VU/bHgwousAGsDEIvcbxj9PnqOyxlb7YjSuK3ZyWQo0PFb+4WwcjNCfi0C6Cg5qiXE orILR6wuM3w096R/LTxFXN9FvB6pihIRjtKqWWFy1MQ9h+esjLm7iBEnU+PZvOEfZCIa KmjRuHILDmES3TLDpurPiSStYEhPaal3KdEogULMfOk3wvq7lYPHtobsaIWg2EZwQmbS zDeDIIYHcM7EjMEtazJnf2dcjvBa65//TP0zpr+kvrIP/XGol/xU+9Sbilw+wiI0kK9w oI7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr15si977318ejb.214.2020.06.01.23.08.56; Mon, 01 Jun 2020 23:09:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726166AbgFBGHB (ORCPT + 99 others); Tue, 2 Jun 2020 02:07:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:46462 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725835AbgFBGG4 (ORCPT ); Tue, 2 Jun 2020 02:06:56 -0400 Received: from sekiro (lfbn-mar-1-685-55.w109-208.abo.wanadoo.fr [109.208.210.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 49EA120734; Tue, 2 Jun 2020 06:06:54 +0000 (UTC) Date: Tue, 2 Jun 2020 08:06:50 +0200 From: Ludovic Desroches To: Jonathan Cameron Cc: Alexandru Ardelean , linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com Subject: Re: [PATCH] iio: Kconfig: at91_adc: add COMPILE_TEST dependency to driver Message-ID: <20200602060650.vlfx26qb57sewcjw@sekiro> References: <20200525102744.131672-1-alexandru.ardelean@analog.com> <20200531154017.04fc727f@archlinux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200531154017.04fc727f@archlinux> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 31, 2020 at 03:40:17PM +0100, Jonathan Cameron wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > On Mon, 25 May 2020 13:27:44 +0300 > Alexandru Ardelean wrote: > > > Since changes can come from all sort of places, it may make sense to have > > this symbol as a dependency to make sure that the 'make allmodconfig' && > > 'make allyesconfig' build rules cover this driver as well for a > > compile-build/test. > > > > It seemed useful [recently] when trying to apply a change for this. > > > > Signed-off-by: Alexandru Ardelean > Makes sense. Given this sort of change can expose weird an wonderful > dependencies that were previously hidden, I'll be wanting an > ack from at91 people. Agree. Acked-by: Ludovic Desroches Regards Ludovic > > Jonathan > > > --- > > drivers/iio/adc/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig > > index c48c00077775..c1f4c0aec265 100644 > > --- a/drivers/iio/adc/Kconfig > > +++ b/drivers/iio/adc/Kconfig > > @@ -294,7 +294,7 @@ config ASPEED_ADC > > > > config AT91_ADC > > tristate "Atmel AT91 ADC" > > - depends on ARCH_AT91 > > + depends on ARCH_AT91 || COMPILE_TEST > > depends on INPUT && SYSFS > > select IIO_BUFFER > > select IIO_TRIGGERED_BUFFER >