]> Git Repo - linux.git/commitdiff
Kconfig cleanup (PARPORT_PC dependencies)
authorMark Salter <[email protected]>
Tue, 8 Oct 2013 02:21:18 +0000 (22:21 -0400)
committerMark Salter <[email protected]>
Wed, 23 Oct 2013 20:00:19 +0000 (16:00 -0400)
Remove messy dependencies from PARPORT_PC by having it depend on one
Kconfig symbol (ARCH_MIGHT_HAVE_PC_PARPORT) and having architectures
which need it, select ARCH_MIGHT_HAVE_PC_PARPORT in arch/*/Kconfig.
New architectures are unlikely to need PARPORT_PC, so this avoids
having an ever growing list of architectures to exclude. Those
architectures which do select ARCH_MIGHT_HAVE_PC_PARPORT in this
patch are the ones which have an asm/parport.h (or use the generic
version).

Signed-off-by: Mark Salter <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
CC: Richard Henderson <[email protected]>
CC: [email protected]
CC: Vineet Gupta <[email protected]>
CC: Russell King <[email protected]>
CC: [email protected]
CC: Tony Luck <[email protected]>
CC: Fenghua Yu <[email protected]>
CC: [email protected]
CC: Geert Uytterhoeven <[email protected]>
CC: [email protected]
CC: Michal Simek <[email protected]>
CC: [email protected]
CC: Ralf Baechle <[email protected]>
CC: [email protected]
CC: "James E.J. Bottomley" <[email protected]>
CC: Helge Deller <[email protected]>
CC: [email protected]
CC: Benjamin Herrenschmidt <[email protected]>
CC: Paul Mackerras <[email protected]>
CC: [email protected]
CC: Paul Mundt <[email protected]>
CC: [email protected]
CC: "David S. Miller" <[email protected]>
CC: [email protected]
CC: Guan Xuetao <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: "H. Peter Anvin" <[email protected]>
CC: [email protected]
drivers/parport/Kconfig

index 70694ce38be2bb2579efdc3ff4db3d8e0c73190f..f5366850af7abe54ccece332e72853e8338e5cea 100644 (file)
@@ -31,13 +31,17 @@ menuconfig PARPORT
 
          If unsure, say Y.
 
+config ARCH_MIGHT_HAVE_PC_PARPORT
+       bool
+       help
+         Select this config option from the architecture Kconfig if
+         the architecture might have PC parallel port hardware.
+
 if PARPORT
 
 config PARPORT_PC
        tristate "PC-style hardware"
-       depends on (!SPARC64 || PCI) && !SPARC32 && !M32R && !FRV && !S390 && \
-               (!M68K || ISA) && !MN10300 && !AVR32 && !BLACKFIN && \
-               !XTENSA && !CRIS && !H8300
+       depends on ARCH_MIGHT_HAVE_PC_PARPORT
 
        ---help---
          You should say Y here if you have a PC-style parallel port. All
This page took 0.056014 seconds and 4 git commands to generate.