gpio: pc104: Mask PC/104 drivers via 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: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
William Breathitt Gray 2017-01-10 13:51:06 -05:00 коммит произвёл Linus Walleij
Родитель 7ad63c790b
Коммит 660549e05d
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -557,7 +557,7 @@ menu "Port-mapped I/O GPIO drivers"
config GPIO_104_DIO_48E config GPIO_104_DIO_48E
tristate "ACCES 104-DIO-48E GPIO support" tristate "ACCES 104-DIO-48E GPIO support"
depends on ISA_BUS_API depends on PC104 && ISA_BUS_API
select GPIOLIB_IRQCHIP select GPIOLIB_IRQCHIP
help help
Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E, Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
@ -567,7 +567,7 @@ config GPIO_104_DIO_48E
config GPIO_104_IDIO_16 config GPIO_104_IDIO_16
tristate "ACCES 104-IDIO-16 GPIO support" tristate "ACCES 104-IDIO-16 GPIO support"
depends on ISA_BUS_API depends on PC104 && ISA_BUS_API
select GPIOLIB_IRQCHIP select GPIOLIB_IRQCHIP
help help
Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16, Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
@ -578,7 +578,7 @@ config GPIO_104_IDIO_16
config GPIO_104_IDI_48 config GPIO_104_IDI_48
tristate "ACCES 104-IDI-48 GPIO support" tristate "ACCES 104-IDI-48 GPIO support"
depends on ISA_BUS_API depends on PC104 && ISA_BUS_API
select GPIOLIB_IRQCHIP select GPIOLIB_IRQCHIP
help help
Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A, Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
@ -598,7 +598,7 @@ config GPIO_F7188X
config GPIO_GPIO_MM config GPIO_GPIO_MM
tristate "Diamond Systems GPIO-MM GPIO support" tristate "Diamond Systems GPIO-MM GPIO support"
depends on ISA_BUS_API depends on PC104 && ISA_BUS_API
help help
Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12. Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.