pcpskr: MIPS: Make config dependencies finer grained
authorRalf Baechle <ralf@linux-mips.org>
Wed, 1 Jun 2011 18:05:10 +0000 (19:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Jun 2011 13:01:41 +0000 (15:01 +0200)
Only the Siemens-Nixdorf RM series workstations and the Jazz family
workstations have PC speakers built in; Malta can connect one via the
infamous AMR connector with an AMR sound card or a little creativity.
So we don't want to offer the PC speaker driver on all MIPS systems.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Link: http://lkml.kernel.org/r/20110601180611.061710714@duck.linux-mips.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/mips/Kconfig

index bf35bb6..45f7aac 100644 (file)
@@ -5,7 +5,6 @@ config MIPS
        select HAVE_IDE
        select HAVE_OPROFILE
        select HAVE_IRQ_WORK
-       select HAVE_PCSPKR_PLATFORM
        select HAVE_PERF_EVENTS
        select PERF_USE_VMALLOC
        select HAVE_ARCH_KGDB
@@ -186,6 +185,7 @@ config MACH_JAZZ
        select CSRC_R4K
        select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
        select GENERIC_ISA_DMA
+       select HAVE_PCSPKR_PLATFORM
        select IRQ_CPU
        select I8253
        select I8259
@@ -267,6 +267,7 @@ config MIPS_MALTA
        select CSRC_R4K
        select DMA_NONCOHERENT
        select GENERIC_ISA_DMA
+       select HAVE_PCSPKR_PLATFORM
        select IRQ_CPU
        select IRQ_GIC
        select HW_HAS_PCI
@@ -641,6 +642,7 @@ config SNI_RM
        select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
        select DMA_NONCOHERENT
        select GENERIC_ISA_DMA
+       select HAVE_PCSPKR_PLATFORM
        select HW_HAS_EISA
        select HW_HAS_PCI
        select IRQ_CPU