summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/patches/320-tapi_hack.patch
blob: aaf5a145d3ec88048dc554ce0ff6b480f3293559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)
 {