[2.6 patch] simplify PARPORT_PC_PCMCIA dependencies

From: Adrian Bunk
Date: Sun Jan 11 2004 - 21:31:03 EST


Hi David,

after looking at the 2.4 PARPORT_PC_PCMCIA dependencies, it seems the
intention for 2.6 are what my patch below does.

Is this patch correct, or did I miss some trick in the dependencies?

cu
Adrian

--- linux-2.6.1-mm2/drivers/parport/Kconfig.old 2004-01-12 03:11:33.000000000 +0100
+++ linux-2.6.1-mm2/drivers/parport/Kconfig 2004-01-12 03:17:26.000000000 +0100
@@ -83,7 +83,7 @@

config PARPORT_PC_PCMCIA
tristate "Support for PCMCIA management for PC-style ports"
- depends on PARPORT!=n && HOTPLUG && (PCMCIA!=n && PARPORT_PC=m && PARPORT_PC || PARPORT_PC=y && PCMCIA)
+ depends on HOTPLUG && 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/