[tip:irq/core] genirq: Export symbol no_action()

From: tip-bot for Alexander Shiyan
Date: Sat Mar 22 2014 - 06:37:15 EST


Commit-ID: d6ee6d2325faeec3fb0122a4840678a2ba62b04b
Gitweb: http://git.kernel.org/tip/d6ee6d2325faeec3fb0122a4840678a2ba62b04b
Author: Alexander Shiyan <shc_work@xxxxxxx>
AuthorDate: Sat, 22 Mar 2014 12:20:31 +0400
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Sat, 22 Mar 2014 11:33:09 +0100

genirq: Export symbol no_action()

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@xxxxxxx>
Link: http://lkml.kernel.org/r/1395476431-16070-1-git-send-email-shc_work@xxxxxxx
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
kernel/irq/handle.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index bfec453..6354802 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -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)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/