iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option
PC/104 drivers should be hidden on machines which do not support PC/104 devices. This patch adds the PC104 Kconfig option as a dependency for the relevant PC/104 device driver Kconfig options. Cc: Jonathan Cameron <jic23@kernel.org> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
9854a1b5c4
commit
3c1de602f6
|
@ -546,7 +546,7 @@ config STM32_ADC
|
||||||
|
|
||||||
config STX104
|
config STX104
|
||||||
tristate "Apex Embedded Systems STX104 driver"
|
tristate "Apex Embedded Systems STX104 driver"
|
||||||
depends on X86 && ISA_BUS_API
|
depends on PC104 && X86 && 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,7 @@ menu "Counters"
|
||||||
|
|
||||||
config 104_QUAD_8
|
config 104_QUAD_8
|
||||||
tristate "ACCES 104-QUAD-8 driver"
|
tristate "ACCES 104-QUAD-8 driver"
|
||||||
depends on X86 && ISA_BUS_API
|
depends on PC104 && X86 && 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).
|
||||||
|
|
Loading…
Reference in New Issue