From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.5 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B8C9C433DB for ; Sun, 14 Feb 2021 12:41:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F3E7164E5E for ; Sun, 14 Feb 2021 12:41:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229759AbhBNMl1 (ORCPT ); Sun, 14 Feb 2021 07:41:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:52506 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbhBNMl1 (ORCPT ); Sun, 14 Feb 2021 07:41:27 -0500 Received: from archlinux (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (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 1330F64DC4; Sun, 14 Feb 2021 12:40:45 +0000 (UTC) Date: Sun, 14 Feb 2021 12:40:42 +0000 From: Jonathan Cameron To: Alexandru Ardelean Cc: , , Subject: Re: [PATCH] iio: adc: adi-axi-adc: add proper Kconfig dependencies Message-ID: <20210214124042.527bcfce@archlinux> In-Reply-To: <20210210105044.48914-1-alexandru.ardelean@analog.com> References: <20210210105044.48914-1-alexandru.ardelean@analog.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Wed, 10 Feb 2021 12:50:44 +0200 Alexandru Ardelean wrote: > The ADI AXI ADC driver requires IO mem access and OF to work. This change > adds these dependencies to the Kconfig symbol of the driver. > > This was also found via the lkp bot, as the > devm_platform_ioremap_resource() symbol was not found at link-time on the > S390 architecture. > > Fixes: ef04070692a21 ("iio: adc: adi-axi-adc: add support for AXI ADC IP core") > Reported-by: kernel test robot > Signed-off-by: Alexandru Ardelean Applied to the fixes-togreg branch of iio.git and marked for stable. Thanks, Jonathan > --- > drivers/iio/adc/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig > index 769381b05b9a..d20a3b574af9 100644 > --- a/drivers/iio/adc/Kconfig > +++ b/drivers/iio/adc/Kconfig > @@ -266,6 +266,8 @@ config ADI_AXI_ADC > select IIO_BUFFER > select IIO_BUFFER_HW_CONSUMER > select IIO_BUFFER_DMAENGINE > + depends on HAS_IOMEM > + depends on OF > help > Say yes here to build support for Analog Devices Generic > AXI ADC IP core. The IP core is used for interfacing with