[2.6 patch] simplify PARPORT_PC_PCMCIA dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Signed-off-by: Adrian Bunk <[email protected]>

---

This patch was already sent on:
- 6 Nov 2005

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux