From patchwork Sun Jan 24 19:50:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 369972 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp3393498jam; Sun, 24 Jan 2021 11:53:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJwFL2zDMgiUWftGD8Tfn7ST/qROWPRxWs/+PUrtuYiBQFNuPtMxHU36JU8sYIVHTToWGN9h X-Received: by 2002:a05:6402:2547:: with SMTP id l7mr63736edb.157.1611518012529; Sun, 24 Jan 2021 11:53:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611518012; cv=none; d=google.com; s=arc-20160816; b=r5FeBycjHYGL4gHCub4/JN5c9nYarblBCRzPoEuDe0nXQI2UBFl4xkM0qhdKdve/3w ITdAPTuoDugtPQ7j4fm+dHXpKLRwEB2cX7FZTcyEv2shpXNLp/f3kHyzCOGMuFRvf6Bk epCxaFYyBx0/EKVQv225GROPijYnM61Qh5zgorrb/RQE7x3f8HsM8AwBG3uuv8WuxPUG JOnkeu675jbrXc/YXEv1cl48rnMZ1YJyRsthmDvpPyWNbDOMb0X/AnJpsLxNHSzE+azY cHqR+EaNNJyNqmwRI4qEoP+QtyQFgxCRVIlzV4qUmjedV6KJe+0IcXlRWyA9EwvDOIkI VABw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=UNEFQSJjKqBGX5k00+hN0SDK6ToI03vcDItqQNIcu4c=; b=wkinh2GDvVffH5JTgpNqvy0UHQqeZHt2U2ZRsIUhm3w384Ffjxk6+05Po+bsRUpiME 2eK2xvLwSwbiDneJoN9hVnqNTeISfpL5zzBo04AYUuU2QRJoUsbpuApXchflG06jIQVq GQMwJZkzEiOVki02isL/irVeOqt5g367XZICnFD2hHKDUuuxHwoqa0jheGveUOXKIXbb 7Zq5ml7LLjWDSGnu1MKj1dm1ovBaRQZnG3s7aYRQbKRlFkxTSeXOuzMg5CrafW93kX3x XjI94L1N09Pu59fHYLqHBJMoy3lFBnJs6otLPkUls5EUCHfngO00ZWET012nz/62Mo7+ n+yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="b6/RHA8f"; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b3si6751481edn.283.2021.01.24.11.53.31; Sun, 24 Jan 2021 11:53:32 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="b6/RHA8f"; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726496AbhAXTx3 (ORCPT + 13 others); Sun, 24 Jan 2021 14:53:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:43812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726481AbhAXTxZ (ORCPT ); Sun, 24 Jan 2021 14:53:25 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 71F90229C5; Sun, 24 Jan 2021 19:52:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611517964; bh=52KkmDBN4KUf4ijGJKSxhN/aTL3++2JXmmjs9akkqiE=; h=From:To:Cc:Subject:Date:From; b=b6/RHA8fNb7Er7DZZ6+OSIY2GhXbDAvWILGUvoER0ZvnxYOpPY6lNl0vpLzlSiDEN PfzA6L+u4wnSCU4ureXyMplV38HJrZ9H9ZGuPuCxfjHdm4sCDXFuADuvvmjjZz+77u CGG7Li+u2VuVq3fh6BmbReYVimsjnmB5fAYDQthovOz82UuwKbiaG3S/kNx6s5Q+4B Z6kRhmgBSsWqCxq4yQTqxWW32ZDuM15nIdrCIeQ9zG4wbC0ScXxXX+kdtRLyS1s+Bi 7Zauww2vAyr3j0piTWp58BrrfYvlsAMmVPsPf6oi0U6M/z2yW/ZbbQyi4Z8S2k/VJY 0oCy/1H0K2pbw== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Fabrice Gasnier , Jonathan Cameron , Stable@vger.kernel.org Subject: [PATCH] iio:adc:stm32-adc: Add HAS_IOMEM dependency Date: Sun, 24 Jan 2021 19:50:34 +0000 Message-Id: <20210124195034.22576-1-jic23@kernel.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Jonathan Cameron Seems that there are config combinations in which this driver gets enabled and hence selects the MFD, but with out HAS_IOMEM getting pulled in via some other route. MFD is entirely contained in an if HAS_IOMEM block, leading to the build issue in this bugzilla. https://bugzilla.kernel.org/show_bug.cgi?id=209889 Cc: Signed-off-by: Jonathan Cameron --- drivers/iio/adc/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.30.0 diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index bf7d22fa4be2..6605c263949c 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -923,6 +923,7 @@ config STM32_ADC_CORE depends on ARCH_STM32 || COMPILE_TEST depends on OF depends on REGULATOR + depends on HAS_IOMEM select IIO_BUFFER select MFD_STM32_TIMERS select IIO_STM32_TIMER_TRIGGER