]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
genirq: Export symbol no_action()
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 22 Mar 2014 08:20:31 +0000 (12:20 +0400)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 22 Mar 2014 10:33:09 +0000 (11:33 +0100)
This will allow to use the dummy IRQ handler no_action() from drivers
compiled as module. Drivers which use ARM FIQ interrupts can use this
to request the interrupt via the normal request_irq() mechanism w/o
having to copy the dummy handler to their own code.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Link: http://lkml.kernel.org/r/1395476431-16070-1-git-send-email-shc_work@mail.ru
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/handle.c

index bfec453557b4f7e6166c64b954c6d25763fecd96..635480270858448064b1afa54bf616f074744d60 100644 (file)
@@ -41,6 +41,7 @@ irqreturn_t no_action(int cpl, void *dev_id)
 {
        return IRQ_NONE;
 }
+EXPORT_SYMBOL_GPL(no_action);
 
 static void warn_no_thread(unsigned int irq, struct irqaction *action)
 {