diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-03-12 08:05:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-12 08:16:33 -0400 |
commit | eb53b4e8fef10ccccb49a6dbb5e19ca84ba5a305 (patch) | |
tree | 156b1a9b799c0b1c4dc90b05a7b2468df56ca1c1 /kernel/irq | |
parent | cbf94f06824780183e4bba165c7c29d5c7bd9a51 (diff) |
irq: export remove_irq() and setup_irq() symbols
Export the setup_irq() and remove_irq() symbols.
I'd like to export these functions since I have timer
code that needs to use setup_irq() early on (too early
for request_irq()), and the same code can also be
compiled as a module.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
LKML-Reference: <20090312120559.2926.82371.sendpatchset@rx1.opensource.se>
[ changed to _GPL as these are special APIs deep inside the irq layer. ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/manage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index fc16570c9b46..e28db0f656ac 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -549,6 +549,7 @@ int setup_irq(unsigned int irq, struct irqaction *act) | |||
549 | 549 | ||
550 | return __setup_irq(irq, desc, act); | 550 | return __setup_irq(irq, desc, act); |
551 | } | 551 | } |
552 | EXPORT_SYMBOL_GPL(setup_irq); | ||
552 | 553 | ||
553 | /* | 554 | /* |
554 | * Internal function to unregister an irqaction - used to free | 555 | * Internal function to unregister an irqaction - used to free |
@@ -640,6 +641,7 @@ void remove_irq(unsigned int irq, struct irqaction *act) | |||
640 | { | 641 | { |
641 | __free_irq(irq, act->dev_id); | 642 | __free_irq(irq, act->dev_id); |
642 | } | 643 | } |
644 | EXPORT_SYMBOL_GPL(remove_irq); | ||
643 | 645 | ||
644 | /** | 646 | /** |
645 | * free_irq - free an interrupt allocated with request_irq | 647 | * free_irq - free an interrupt allocated with request_irq |