[PATCH] staging: comedi: fix Kconfig for COMEDI_PCMCIA_DRIVERS
Ian Abbott
abbotti at mev.co.uk
Fri Jun 15 17:51:19 UTC 2012
On 2012-06-15 17:18, H Hartley Sweeten wrote:
> The depends on PCCARD is redundant. All of the comedi PCMCIA
> drivers depend on PCMCIA which can only be enabled if PCCARD
> is enabled. Remove the extra depends check.
>
> Signed-off-by: H Hartley Sweeten<hsweeten at visionengravers.com>
> Cc: Ian Abbott<abbotti at mev.co.uk>
> Cc: Frank Mori Hess<fmhess at users.sourceforge.net>
> Cc: Greg Kroah-Hartman<gregkh at linuxfondation.org>
I tested it with Randy's config from
Subject: Re: linux-next: Tree for Jun 14 (staging/comedi)
Message-ID: <4FDA59D7.3050200 at xenotime.net>
and `make oldconfig` no longer leaves CONFIG_COMEDI_NI_LABPC_CS, etc.
defined, so it seems to work!
Thanks.
Tested-by: Ian Abbott <abbotti at mev.co.uk>
> ---
> drivers/staging/comedi/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
> index 848cf7e..2ca7f08 100644
> --- a/drivers/staging/comedi/Kconfig
> +++ b/drivers/staging/comedi/Kconfig
> @@ -1097,7 +1097,7 @@ endif # COMEDI_PCI_DRIVERS
>
> menuconfig COMEDI_PCMCIA_DRIVERS
> tristate "Comedi PCMCIA drivers"
> - depends on (PCMCIA || PCCARD)
> + depends on PCMCIA
> ---help---
> Enable comedi PCMCIA and PCCARD drivers to be built
>
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti at mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
More information about the devel
mailing list