[PATCH v2 00/14] Kconfig cleanup (PARPORT_PC dependencies)

From: Mark Salter
Date: Tue Oct 08 2013 - 01:13:17 EST


This patch series removes the messy dependencies from PARPORT_PC
by having it depend on one symbol (ARCH_MAY_HAVE_PC_PARPORT) and
having architectures which need it, select ARCH_MAY_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_MAY_HAVE_PC_PARPORT in this
patch are the ones which have an asm/parport.h (or use the generic
version).

V1 or this patch can be found here:

http://www.spinics.net/lists/linux-arch/msg23167.html

V2 changes:

* Use select instead of adding config option to arch/*/Kconfig
* Split into multiple patches for individual architectures
* Dropped tile architecture

Mark Salter (14):
alpha: select ARCH_MAY_HAVE_PC_PARPORT
arc: select ARCH_MAY_HAVE_PC_PARPORT
arm: select ARCH_MAY_HAVE_PC_PARPORT
ia64: select ARCH_MAY_HAVE_PC_PARPORT
m68k: select ARCH_MAY_HAVE_PC_PARPORT
microblaze: select ARCH_MAY_HAVE_PC_PARPORT
mips: select ARCH_MAY_HAVE_PC_PARPORT
parisc: select ARCH_MAY_HAVE_PC_PARPORT
powerpc: select ARCH_MAY_HAVE_PC_PARPORT
sh: select ARCH_MAY_HAVE_PC_PARPORT
sparc: select ARCH_MAY_HAVE_PC_PARPORT
unicore32: select ARCH_MAY_HAVE_PC_PARPORT
x86: select ARCH_MAY_HAVE_PC_PARPORT
Kconfig cleanup (PARPORT_PC dependencies)

arch/alpha/Kconfig | 1 +
arch/arc/Kconfig | 1 +
arch/arm/Kconfig | 1 +
arch/ia64/Kconfig | 1 +
arch/m68k/Kconfig | 1 +
arch/microblaze/Kconfig | 1 +
arch/mips/Kconfig | 1 +
arch/parisc/Kconfig | 1 +
arch/powerpc/Kconfig | 1 +
arch/sh/Kconfig | 1 +
arch/sparc/Kconfig | 1 +
arch/unicore32/Kconfig | 1 +
arch/x86/Kconfig | 1 +
drivers/parport/Kconfig | 10 +++++++---
14 files changed, 20 insertions(+), 3 deletions(-)

--
1.8.3.1

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