From c298e74a6c0f6c94f57e40767b5a8be3f2ec314f Mon Sep 17 00:00:00 2001 From: Simon Kagstrom Date: Wed, 19 Nov 2008 17:11:25 +0000 Subject: : export-irq-functionality.patch Export some irq-related functionality to modules From: Simon Kagstrom This patch exports handle_level_irq and __set_irq_handler to modules. It's needed to compile lis302dl as a module. Signed-off-by: Simon Kagstrom --- kernel/irq/chip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 10b5092e9bf..66b1e42ec5f 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -380,6 +380,7 @@ handle_level_irq(unsigned int irq, struct irq_desc *desc) out_unlock: spin_unlock(&desc->lock); } +EXPORT_SYMBOL(handle_level_irq); /** * handle_fasteoi_irq - irq handler for transparent controllers @@ -583,6 +584,7 @@ __set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained, } spin_unlock_irqrestore(&desc->lock, flags); } +EXPORT_SYMBOL(__set_irq_handler); void set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip, -- cgit v1.2.3