Commit 7703014c00caa60c688e289583f62e019ac20a64

Authored by Arnd Bergmann
Committed by Tero Kristo
1 parent 7bf1a0d738

genirq: Export handle_bad_irq

commit 9d67dc5da59d63f746aad8f6ec4fbb86d6486f76 upstream.

A cleanup of the omap gpio driver introduced a use of the
Handle_bad_irq() function in a device driver that can be
a loadable module.

This broke the ARM allmodconfig build:

ERROR: "handle_bad_irq" [drivers/gpio/gpio-omap.ko] undefined!

This patch exports the handle_bad_irq symbol in order to
allow the use in modules.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Santosh Shilimkar <ssantosh@kernel.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Austin Schuh <austin@peloton-tech.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/5847725.4IBopItaOr@wuerfel
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Dan Murphy <dmurphy@ti.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -33,6 +33,7 @@
33 33 kstat_incr_irqs_this_cpu(irq, desc);
34 34 ack_bad_irq(irq);
35 35 }
  36 +EXPORT_SYMBOL_GPL(handle_bad_irq);
36 37  
37 38 /*
38 39 * Special, empty irq handler: