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.
Unified · Split
| @@ -35,6 +35,7 @@ void handle_bad_irq(struct irq_desc *desc) · 34 unmodified lines | ||
| 35 | 35 | kstat_incr_irqs_this_cpu(desc); |
| 36 | 36 | ack_bad_irq(irq); |
| 37 | 37 | } |
| 38 | +EXPORT_SYMBOL_GPL(handle_bad_irq); | |
| 38 | 39 | |
| 39 | 40 | /* |
| 40 | 41 | * Special, empty irq handler: |