[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1453760661-1444-7-git-send-email-richard@nod.at>
Date: Mon, 25 Jan 2016 23:24:05 +0100
From: Richard Weinberger <richard@....at>
To: linux-kernel@...r.kernel.org
Cc: user-mode-linux-devel@...ts.sourceforge.net,
Richard Weinberger <richard@....at>,
Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald <pmeerw@...erw.net>,
Pradeep Goudagunta <pgoudagunta@...dia.com>,
Haibo Chen <haibo.chen@...escale.com>,
Phani Movva <Phani.Movva@...tec.com>,
Andrea Galbusera <gizero@...il.com>,
Stanimir Varbanov <svarbanov@...sol.com>,
Vladimir Barinov <vladimir.barinov@...entembedded.com>,
Sean Nyekjaer <sean.nyekjaer@...vas.dk>,
Oliver Stäbler <oliver.staebler@...esatwork.ch>,
Urs Fässler <urs.fassler@...esatwork.ch>,
Søren Andersen <san@...etechnology.dk>,
linux-iio@...r.kernel.org
Subject: [PATCH 06/22] iio: adc: Fix dependencies for !HAS_IOMEM archs
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.
Signed-off-by: Richard Weinberger <richard@....at>
---
drivers/iio/adc/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 605ff42..283ded7 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -175,6 +175,7 @@ config DA9150_GPADC
config EXYNOS_ADC
tristate "Exynos ADC driver support"
depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || (OF && COMPILE_TEST)
+ depends on HAS_IOMEM
help
Core support for the ADC block found in the Samsung EXYNOS series
of SoCs for drivers such as the touchscreen and hwmon to use to share
@@ -207,6 +208,7 @@ config INA2XX_ADC
config IMX7D_ADC
tristate "IMX7D ADC driver"
depends on ARCH_MXC || COMPILE_TEST
+ depends on HAS_IOMEM
help
Say yes here to build support for IMX7D ADC.
@@ -409,6 +411,7 @@ config TWL6030_GPADC
config VF610_ADC
tristate "Freescale vf610 ADC driver"
depends on OF
+ depends on HAS_IOMEM
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help
--
1.8.4.5
Powered by blists - more mailing lists