Skip to contentSkip to conversation

irq: Export symbol no_action()

PATCH RESEND New Alexander Shiyan 2 participants 2 messages Mar 22, 2014 IRQ

v1 of 2 New Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 irq: Export symbol no_action()

This will allow to use dummy IRQ handler no_action() from drivers compiled as module. For example, dummy handler is could be used for drivers that use ARM FIQ interrupts.

---
 kernel/irq/handle.c | 1 +
 1 file changed, 1 insertion(+)
kernel/irq/handle.c +1 -0
index bfec453..6354802 100644
@@ -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)
 {
Signature · 1 line
1.8.3.2
#1 lore raw

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

genirq: Export symbol no_action()
Commit-ID:  d6ee6d2325faeec3fb0122a4840678a2ba62b04b
Gitweb:     http://git.kernel.org/tip/d6ee6d2325faeec3fb0122a4840678a2ba62b04b
Author:     Alexander Shiyan <[email protected]>
AuthorDate: Sat, 22 Mar 2014 12:20:31 +0400
Committer:  Thomas Gleixner <[email protected]>
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.

---
 kernel/irq/handle.c | 1 +
 1 file changed, 1 insertion(+)
kernel/irq/handle.c +1 -0
index bfec453..6354802 100644
@@ -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)
 {