From: Alexander Shiyan Date: Sat, 22 Mar 2014 08:20:31 +0000 (+0400) Subject: genirq: Export symbol no_action() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d6ee6d2325faeec3fb0122a4840678a2ba62b04b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Link: http://lkml.kernel.org/r/1395476431-16070-1-git-send-email-shc_work@mail.ru Signed-off-by: Thomas Gleixner --- diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index bfec453557b4..635480270858 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) {