linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 10/14] sh: select ARCH_MAY_HAVE_PC_PARPORT
       [not found] <1381209030-351-1-git-send-email-msalter@redhat.com>
@ 2013-10-08  5:10 ` Mark Salter
       [not found] ` <1381209030-351-15-git-send-email-msalter@redhat.com>
  1 sibling, 0 replies; 2+ messages in thread
From: Mark Salter @ 2013-10-08  5:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: Mark Salter, Paul Mundt, linux-sh

Architectures which support CONFIG_PARPORT_PC should select
ARCH_MAY_HAVE_PC_PARPORT.

Signed-off-by: Mark Salter <msalter@redhat.com>
CC: Paul Mundt <lethal@linux-sh.org>
CC: linux-sh@vger.kernel.org
---
 arch/sh/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 224f4bc..a5d1d2e 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -1,5 +1,6 @@
 config SUPERH
 	def_bool y
+	select ARCH_MAY_HAVE_PC_PARPORT
 	select EXPERT
 	select CLKDEV_LOOKUP
 	select HAVE_IDE if HAS_IOPORT
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 14/14] Kconfig cleanup (PARPORT_PC dependencies)
       [not found] ` <1381209030-351-15-git-send-email-msalter@redhat.com>
@ 2013-10-08  7:00   ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2013-10-08  7:00 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Oct 08, 2013 at 01:10:30AM -0400, Mark Salter wrote:

> Remove messy dependencies from PARPORT_PC by having it depend on one
> Kconfig 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).

Acked-by: Ralf Baechle <ralf@linux-mips.org>

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-08  7:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1381209030-351-1-git-send-email-msalter@redhat.com>
2013-10-08  5:10 ` [PATCH v2 10/14] sh: select ARCH_MAY_HAVE_PC_PARPORT Mark Salter
     [not found] ` <1381209030-351-15-git-send-email-msalter@redhat.com>
2013-10-08  7:00   ` [PATCH v2 14/14] Kconfig cleanup (PARPORT_PC dependencies) Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).