[2.6 patch] simplify PARPORT_PC_PCMCIA dependencies

From: Adrian Bunk
Date: Sat Nov 05 2005 - 19:55:10 EST


Unless I miss something, this should be the simplest way to express the
intended dependencies.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.14-rc5-mm1-full/drivers/parport/Kconfig.old 2005-11-06 01:17:13.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/parport/Kconfig 2005-11-06 01:17:45.000000000 +0100
@@ -77,7 +77,7 @@

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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/