All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio:adc:stm32-adc: Add HAS_IOMEM dependency
@ 2021-01-24 19:50 Jonathan Cameron
  2021-02-21 16:01 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Cameron @ 2021-01-24 19:50 UTC (permalink / raw)
  To: linux-iio; +Cc: Fabrice Gasnier, Jonathan Cameron, Stable

From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

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: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio:adc:stm32-adc: Add HAS_IOMEM dependency
  2021-01-24 19:50 [PATCH] iio:adc:stm32-adc: Add HAS_IOMEM dependency Jonathan Cameron
@ 2021-02-21 16:01 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2021-02-21 16:01 UTC (permalink / raw)
  To: linux-iio; +Cc: Fabrice Gasnier, Jonathan Cameron, Stable

On Sun, 24 Jan 2021 19:50:34 +0000
Jonathan Cameron <jic23@kernel.org> wrote:

> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> 
> 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: <Stable@vger.kernel.org>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Applied to the fixes-togreg branch of iio.git.

Thanks

Jonathan

> ---
>  drivers/iio/adc/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-21 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 19:50 [PATCH] iio:adc:stm32-adc: Add HAS_IOMEM dependency Jonathan Cameron
2021-02-21 16:01 ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.