[Linux-parport] [2.6 patch] simplify PARPORT_PC_PCMCIA dependencies

Adrian Bunk bunk at stusta.de
Sat Nov 5 19:55:15 EST 2005


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


Signed-off-by: Adrian Bunk <bunk at stusta.de>

--- 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.




More information about the Linux-parport mailing list