summaryrefslogtreecommitdiffstats
path: root/kernel/irq/Makefile
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-05-02 18:16:22 +0200
committerThomas Gleixner <tglx@linutronix.de>2011-05-02 18:16:22 +0200
commitc42321c76b0ef472e3bae4bfcb0f46ab19e038ef (patch)
tree9bfa0ea3a40995438592d05915f01d7ddebc0e5e /kernel/irq/Makefile
parentcfefd21e693dca791bf9ecfc9dd3794facad533c (diff)
downloadlinux-c42321c76b0ef472e3bae4bfcb0f46ab19e038ef.tar.bz2
genirq: Make generic irq chip depend on CONFIG_GENERIC_IRQ_CHIP
Only compile it in when there are users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: linux-arm-kernel@lists.infradead.org
Diffstat (limited to 'kernel/irq/Makefile')
-rw-r--r--kernel/irq/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/Makefile b/kernel/irq/Makefile
index e7a13bd3316a..73290056cfb6 100644
--- a/kernel/irq/Makefile
+++ b/kernel/irq/Makefile
@@ -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