Skip to contentSkip to conversation

irq: Export symbol no_action()

PATCH New Alexander Shiyan 1 participant 1 message Mar 5, 2014 IRQ

lore
Share & tools
lore
#0 lore raw

PATCH v2 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