提交 d6ee6d23 编写于 作者: A Alexander Shiyan 提交者: Thomas Gleixner

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: NAlexander Shiyan <shc_work@mail.ru>
Link: http://lkml.kernel.org/r/1395476431-16070-1-git-send-email-shc_work@mail.ruSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 b524ca74
...@@ -41,6 +41,7 @@ irqreturn_t no_action(int cpl, void *dev_id) ...@@ -41,6 +41,7 @@ irqreturn_t no_action(int cpl, void *dev_id)
{ {
return IRQ_NONE; return IRQ_NONE;
} }
EXPORT_SYMBOL_GPL(no_action);
static void warn_no_thread(unsigned int irq, struct irqaction *action) static void warn_no_thread(unsigned int irq, struct irqaction *action)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册