summaryrefslogtreecommitdiffstats
path: root/kernel/irq/dummychip.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-10-12 21:58:27 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-10-12 21:59:55 +0200
commitc0a19ebc018222ffd1dd93af5b53d9efd779c19b (patch)
treef648fb93efb064b22000aca24e48dfda2cbfab0a /kernel/irq/dummychip.c
parent2ee39065988d632b403f8470942b0b5edee3632b (diff)
downloadlinux-stable-c0a19ebc018222ffd1dd93af5b53d9efd779c19b.tar.gz
linux-stable-c0a19ebc018222ffd1dd93af5b53d9efd779c19b.tar.bz2
linux-stable-c0a19ebc018222ffd1dd93af5b53d9efd779c19b.zip
genirq: Fix CONFIG_GENIRQ_NO_DEPRECATED=y build
This option can be set to verify the full conversion to the new chip functions. Fix the fallout of the patch rework, so the core code compiles and works with it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/dummychip.c')
-rw-r--r--kernel/irq/dummychip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/dummychip.c b/kernel/irq/dummychip.c
index 918dea9de9ea..20dc5474947e 100644
--- a/kernel/irq/dummychip.c
+++ b/kernel/irq/dummychip.c
@@ -31,7 +31,7 @@ static unsigned int noop_ret(struct irq_data *data)
return 0;
}
-#ifndef CONFIG_GENERIC_HARDIRQS_NO_CRUFT
+#ifndef CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED
static void compat_noop(unsigned int irq) { }
#define END_INIT .end = compat_noop
#else