aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-04-26 16:10:51 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-29 21:14:40 -0400
commit5d4a6789d5957a6388ea86c811d7c09bbe5f8ebd (patch)
tree5af045fe0a413286b9f8001f3d5e4b238dbee356
parentdb3b9e990e75573402cda22faf933760f076c033 (diff)
staging: iio: lpc32xx-adc: Remove driver conflict due to device tree
Previously, the touchscreen and ADC drivers of the LPC32xx SoC had a Kconfig conflict declared because they use the same hardware. Upon the introduction of device tree support in both drivers, the conflict must be removed to enable the same kernel to support different hardware (configured via the device tree). Signed-off-by: Roland Stigge <stigge@antcom.de> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/iio/adc/Kconfig8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index ec006e749ffe..9ae5467ca420 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -195,12 +195,14 @@ config MAX1363_RING_BUFFER
195 195
196config LPC32XX_ADC 196config LPC32XX_ADC
197 tristate "NXP LPC32XX ADC" 197 tristate "NXP LPC32XX ADC"
198 depends on ARCH_LPC32XX && !TOUCHSCREEN_LPC32XX 198 depends on ARCH_LPC32XX
199 help 199 help
200 Say yes here to build support for the integrated ADC inside the 200 Say yes here to build support for the integrated ADC inside the
201 LPC32XX SoC. Note that this feature uses the same hardware as the 201 LPC32XX SoC. Note that this feature uses the same hardware as the
202 touchscreen driver, so you can only select one of the two drivers 202 touchscreen driver, so you should either select only one of the two
203 (lpc32xx_adc or lpc32xx_ts). Provides direct access via sysfs. 203 drivers (lpc32xx_adc or lpc32xx_ts) or, in the OpenFirmware case,
204 activate only one via device tree selection. Provides direct access
205 via sysfs.
204 206
205config SPEAR_ADC 207config SPEAR_ADC
206 tristate "ST SPEAr ADC" 208 tristate "ST SPEAr ADC"