Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1555819
| From | William Breathitt Gray <vilhelm.gray@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/3] gpio: pc104: Mask PC/104 drivers via PC104 Kconfig option |
| Date | 2017-01-10 20:00 +0100 |
| Message-ID | <sY9Oi-4Tu-31@gated-at.bofh.it> (permalink) |
| References | <sY9Oh-4Tu-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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: Linus Walleij <linus.walleij@linaro.org> Cc: Alexandre Courbot <gnurou@gmail.com> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> --- drivers/gpio/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index d5d36549ecc1..ad7084d98c60 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -539,7 +539,7 @@ menu "Port-mapped I/O GPIO drivers" config GPIO_104_DIO_48E tristate "ACCES 104-DIO-48E GPIO support" - depends on ISA_BUS_API + depends on PC104 && ISA_BUS_API select GPIOLIB_IRQCHIP help Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E, @@ -549,7 +549,7 @@ config GPIO_104_DIO_48E config GPIO_104_IDIO_16 tristate "ACCES 104-IDIO-16 GPIO support" - depends on ISA_BUS_API + depends on PC104 && ISA_BUS_API select GPIOLIB_IRQCHIP help Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16, @@ -560,7 +560,7 @@ config GPIO_104_IDIO_16 config GPIO_104_IDI_48 tristate "ACCES 104-IDI-48 GPIO support" - depends on ISA_BUS_API + depends on PC104 && ISA_BUS_API select GPIOLIB_IRQCHIP help Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A, @@ -580,7 +580,7 @@ config GPIO_F7188X config GPIO_GPIO_MM tristate "Diamond Systems GPIO-MM GPIO support" - depends on ISA_BUS_API + depends on PC104 && ISA_BUS_API help Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12. -- 2.11.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] pc104: Mask PC/104 Kconfig options William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-10 20:00 +0100
[PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-10 20:00 +0100
Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option Jonathan Cameron <jic23@kernel.org> - 2017-01-10 22:20 +0100
Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-10 22:50 +0100
Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option Linus Walleij <linus.walleij@linaro.org> - 2017-01-11 16:50 +0100
[PATCH 2/3] gpio: pc104: Mask PC/104 drivers via PC104 Kconfig option William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-10 20:00 +0100
[PATCH 1/3] pc104: Introduce the PC104 Kconfig option William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-10 20:00 +0100
Re: [PATCH 0/3] pc104: Mask PC/104 Kconfig options Linus Walleij <linus.walleij@linaro.org> - 2017-01-11 16:30 +0100
csiph-web