]> err.no Git - linux-2.6/commitdiff
[PATCH] simplify PARPORT_PC_PCMCIA dependencies
authorAdrian Bunk <bunk@stusta.de>
Fri, 6 Jan 2006 08:19:52 +0000 (00:19 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:58 +0000 (08:33 -0800)
Unless I miss something, this should be the simplest way to express the
intended dependencies.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/parport/Kconfig

index 725a14119f2a4358706c068c6031ba8d7d64da72..b8241561da4592877609bd8dc9d43c166c88ce1f 100644 (file)
@@ -77,7 +77,7 @@ config PARPORT_PC_SUPERIO
 
 config PARPORT_PC_PCMCIA
        tristate "Support for PCMCIA management for PC-style ports"
-       depends on PARPORT!=n && (PCMCIA!=n && PARPORT_PC=m && PARPORT_PC || PARPORT_PC=y && PCMCIA)
+       depends on PCMCIA && PARPORT_PC
        help
          Say Y here if you need PCMCIA support for your PC-style parallel
          ports. If unsure, say N.