]> git.karo-electronics.de Git - linux-beck.git/commitdiff
genirq: Make generic irq chip depend on CONFIG_GENERIC_IRQ_CHIP
authorThomas Gleixner <tglx@linutronix.de>
Mon, 2 May 2011 16:16:22 +0000 (18:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 2 May 2011 16:16:22 +0000 (18:16 +0200)
Only compile it in when there are users.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
kernel/irq/Kconfig
kernel/irq/Makefile

index c574f9a12c48c8951b8616e4152e3ac40e84a388..d1d051b38e0b5fc1c84eb3bb94b85373d7d6bf47 100644 (file)
@@ -48,6 +48,10 @@ config IRQ_PREFLOW_FASTEOI
 config IRQ_EDGE_EOI_HANDLER
        bool
 
+# Generic configurable interrupt chip implementation
+config GENERIC_IRQ_CHIP
+       bool
+
 # Support forced irq threading
 config IRQ_FORCED_THREADING
        bool
index e7a13bd3316a54076ef8acb8756453d3b041a667..73290056cfb6d11a77799684b49f1a888bebbade 100644 (file)
@@ -1,6 +1,6 @@
 
 obj-y := irqdesc.o handle.o manage.o spurious.o resend.o chip.o dummychip.o devres.o
-obj-y += generic-chip.o
+obj-$(CONFIG_GENERIC_IRQ_CHIP) += generic-chip.o
 obj-$(CONFIG_GENERIC_IRQ_PROBE) += autoprobe.o
 obj-$(CONFIG_PROC_FS) += proc.o
 obj-$(CONFIG_GENERIC_PENDING_IRQ) += migration.o