openwrt-owl/target/linux/ifxmips/patches/320-tapi_hack.patch

25 lines
926 B
Diff

Index: linux-2.6.35.7/kernel/irq/chip.c
===================================================================
--- linux-2.6.35.7.orig/kernel/irq/chip.c 2010-10-15 18:40:33.000000000 +0200
+++ linux-2.6.35.7/kernel/irq/chip.c 2010-10-15 18:44:19.000000000 +0200
@@ -723,6 +723,7 @@
set_irq_chip(irq, chip);
__set_irq_handler(irq, handle, 0, NULL);
}
+EXPORT_SYMBOL_GPL(set_irq_chip_and_handler);
void
set_irq_chip_and_handler_name(unsigned int irq, struct irq_chip *chip,
Index: linux-2.6.35.7/kernel/irq/handle.c
===================================================================
--- linux-2.6.35.7.orig/kernel/irq/handle.c 2010-10-15 18:40:33.000000000 +0200
+++ linux-2.6.35.7/kernel/irq/handle.c 2010-10-15 18:44:19.000000000 +0200
@@ -276,6 +276,7 @@
{
return (irq < NR_IRQS) ? irq_desc + irq : NULL;
}
+EXPORT_SYMBOL_GPL(irq_to_desc);
struct irq_desc *irq_to_desc_alloc_node(unsigned int irq, int node)
{