Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1555920

Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option

From Jonathan Cameron <jic23@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option
Date 2017-01-10 22:20 +0100
Message-ID <sYbZL-6ng-17@gated-at.bofh.it> (permalink)
References <sY9Oh-4Tu-3@gated-at.bofh.it> <sY9Oi-4Tu-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/01/17 18:51, William Breathitt Gray wrote:
> 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>
Acked-by: Jonathan Cameron <jic23@kernel.org>

Now the question is how to merge this one.  Let me know if you
want me to take this one via IIO after the first patch is in.
If you want to take it another route I'm fine with that.

Jonathan
> ---
>  drivers/iio/adc/Kconfig     | 2 +-
>  drivers/iio/counter/Kconfig | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index 9c8b558ba19e..dc897b443a17 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -465,7 +465,7 @@ config STM32_ADC
>  
>  config STX104
>  	tristate "Apex Embedded Systems STX104 driver"
> -	depends on X86 && ISA_BUS_API
> +	depends on PC104 && X86 && ISA_BUS_API
>  	select GPIOLIB
>  	help
>  	  Say yes here to build support for the Apex Embedded Systems STX104
> diff --git a/drivers/iio/counter/Kconfig b/drivers/iio/counter/Kconfig
> index 44627f6e4861..b37e5fc03149 100644
> --- a/drivers/iio/counter/Kconfig
> +++ b/drivers/iio/counter/Kconfig
> @@ -7,7 +7,7 @@ menu "Counters"
>  
>  config 104_QUAD_8
>  	tristate "ACCES 104-QUAD-8 driver"
> -	depends on X86 && ISA_BUS_API
> +	depends on PC104 && X86 && ISA_BUS_API
>  	help
>  	  Say yes here to build support for the ACCES 104-QUAD-8 quadrature
>  	  encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).
> 

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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