Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1209308pxb; Wed, 10 Feb 2021 02:56:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzg7Hjy43Zj+HSxPl24q12PXgNUo8bniDEYHKE71+lisZJDXqtkm6CusCEWzlnLKdemfZDo X-Received: by 2002:a50:fd14:: with SMTP id i20mr2626157eds.26.1612954596603; Wed, 10 Feb 2021 02:56:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612954596; cv=none; d=google.com; s=arc-20160816; b=g/B9XhEzw+fcL+z8xj0DcGacofZhdjTwxHJTnncvm7SRK7zV7ojw18tYfZDen6aJJo BbVlHX2RuRGJHKDoUYfR1BFscS6menQ5IeaLiYfuXepTjl6vwaAU04ecMMjV0H2pxfCX +ZMe7bW3WtY7tdznVW1wj+m6zE4+mFohSZvinm8g/Sz8AxatCHwXGOxfng/DvHVcNYv2 UJx7O06gHPQnvVYWeY6OH4UU/gyz/ZsLwDNnZPFKxQhgOXykvXIxexn5NoNn1kqPMVtO RtgbgT+8ImOH0L7CAa/zag6WfXZePGQioqZ5wWRYy+XqkVZVMwRRTWsYhBp1x9OhwWof Okmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=/CqLfYgiL8IFERRGG9SWxQdd28kyBkQ0PJsOsZlSaho=; b=aOrBtf0z0nG21K7SOt+cOXHblthaiJHpm697muccJxgZi7ZH/0nX06w3soKpzEWpp9 D6nNbzCseXnMq2t6QDbkk4JjtJoSLSMWdySMJH39Q6U4BT+e4f9pe6eRJLuhMFa1gmnH xtRwSSqOITqkVUSfWf6RnfwRms2ytAquEG7QHJ6074Z/UhWkHTljhA2P6V1ae72bPD1J 4RypAADKqW+uS38DQ07dllaGQYKhUulE3wWcghg0Uhy3nE85yP85B2ZgBIHGz7hnsRKS wYXNqej4JgLFfVaXBnvfQqcsVQyV3s36KGN0Imye6amNw0ZsZ821wMa0bKxmA9gv8Qyo TJ4g== 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=analog.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s4si984966ejd.603.2021.02.10.02.56.11; Wed, 10 Feb 2021 02:56:36 -0800 (PST) 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=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231735AbhBJKxS (ORCPT + 99 others); Wed, 10 Feb 2021 05:53:18 -0500 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:7374 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231448AbhBJKt6 (ORCPT ); Wed, 10 Feb 2021 05:49:58 -0500 Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11AAjt3s018532; Wed, 10 Feb 2021 05:49:17 -0500 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com with ESMTP id 36hrw8v7su-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Feb 2021 05:49:17 -0500 Received: from SCSQMBX11.ad.analog.com (SCSQMBX11.ad.analog.com [10.77.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 11AAnFMn036784 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Wed, 10 Feb 2021 05:49:16 -0500 Received: from SCSQMBX10.ad.analog.com (10.77.17.5) by SCSQMBX11.ad.analog.com (10.77.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Wed, 10 Feb 2021 02:49:14 -0800 Received: from zeus.spd.analog.com (10.66.68.11) by scsqmbx10.ad.analog.com (10.77.17.5) with Microsoft SMTP Server id 15.2.721.2 via Frontend Transport; Wed, 10 Feb 2021 02:49:14 -0800 Received: from localhost.localdomain ([10.48.65.12]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 11AAnAs8019925; Wed, 10 Feb 2021 05:49:11 -0500 From: Alexandru Ardelean To: , CC: , , Alexandru Ardelean Subject: [PATCH] iio: adc: adi-axi-adc: add proper Kconfig dependencies Date: Wed, 10 Feb 2021 12:50:44 +0200 Message-ID: <20210210105044.48914-1-alexandru.ardelean@analog.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.737 definitions=2021-02-10_03:2021-02-10,2021-02-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 spamscore=0 mlxlogscore=942 clxscore=1015 adultscore=0 priorityscore=1501 bulkscore=0 mlxscore=0 phishscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102100106 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.17.1