Commit 1f8f9368 authored by William Breathitt Gray's avatar William Breathitt Gray Committed by Linus Walleij

iio: Change ISA_BUS_API dependency to selection

The ISA_BUS_API Kconfig option enables the compilation of the ISA bus
driver. The ISA bus driver does not perform any hardware interaction,
and is instead just a thin layer of software abstraction to eliminate
boilerplate code common to ISA-style device drivers. Since ISA_BUS_API
has no dependencies and does not jeopardize the integrity of the system
when enabled, drivers should select it when the ISA bus driver
functionality is needed.

Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: default avatarWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 51750fb1
...@@ -698,7 +698,8 @@ config STM32_DFSDM_ADC ...@@ -698,7 +698,8 @@ config STM32_DFSDM_ADC
config STX104 config STX104
tristate "Apex Embedded Systems STX104 driver" tristate "Apex Embedded Systems STX104 driver"
depends on PC104 && X86 && ISA_BUS_API depends on PC104 && X86
select ISA_BUS_API
select GPIOLIB select GPIOLIB
help help
Say yes here to build support for the Apex Embedded Systems STX104 Say yes here to build support for the Apex Embedded Systems STX104
......
...@@ -7,7 +7,8 @@ menu "Counters" ...@@ -7,7 +7,8 @@ menu "Counters"
config 104_QUAD_8 config 104_QUAD_8
tristate "ACCES 104-QUAD-8 driver" tristate "ACCES 104-QUAD-8 driver"
depends on PC104 && X86 && ISA_BUS_API depends on PC104 && X86
select ISA_BUS_API
help help
Say yes here to build support for the ACCES 104-QUAD-8 quadrature Say yes here to build support for the ACCES 104-QUAD-8 quadrature
encoder counter/interface device family (104-QUAD-8, 104-QUAD-4). encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).
......
...@@ -195,7 +195,8 @@ config AD7303 ...@@ -195,7 +195,8 @@ config AD7303
config CIO_DAC config CIO_DAC
tristate "Measurement Computing CIO-DAC IIO driver" tristate "Measurement Computing CIO-DAC IIO driver"
depends on X86 && ISA_BUS_API depends on X86 && (ISA_BUS || PC104)
select ISA_BUS_API
help help
Say yes here to build support for the Measurement Computing CIO-DAC Say yes here to build support for the Measurement Computing CIO-DAC
analog output device family (CIO-DAC16, CIO-DAC08, PC104-DAC06). The analog output device family (CIO-DAC16, CIO-DAC08, PC104-DAC06). The
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment