diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-05-18 10:39:04 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-05-18 14:59:08 +0200 |
commit | edf76f8307c350bcb81f0c760118a991b3e62956 (patch) | |
tree | 35adb6aa29f61f64f5841b1ccb2e6a50eb250529 /kernel/irq/chip.c | |
parent | fe12bc2c996d3e492b2920e32ac79f7bbae3e15d (diff) | |
download | kernel_samsung_smdk4412-edf76f8307c350bcb81f0c760118a991b3e62956.zip kernel_samsung_smdk4412-edf76f8307c350bcb81f0c760118a991b3e62956.tar.gz kernel_samsung_smdk4412-edf76f8307c350bcb81f0c760118a991b3e62956.tar.bz2 |
irq: Export functions to allow modular irq drivers
Export handle_simple_irq, irq_modify_status, irq_alloc_descs,
irq_free_descs and generic_handle_irq to allow their usage in
modules. First user is IIO, which wants to be built modular, but needs
to be able to create irq chips, allocate and configure interrupt
descriptors and handle demultiplexing interrupts.
[ tglx: Moved the uninlinig of generic_handle_irq to a separate patch ]
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Link: http://lkml.kernel.org/r/%3C1305711544-505-1-git-send-email-jic23%40cam.ac.uk%3E
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/chip.c')
-rw-r--r-- | kernel/irq/chip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 52d856d..d5a3009 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -310,6 +310,7 @@ handle_simple_irq(unsigned int irq, struct irq_desc *desc) out_unlock: raw_spin_unlock(&desc->lock); } +EXPORT_SYMBOL_GPL(handle_simple_irq); /** * handle_level_irq - Level type irq handler @@ -613,6 +614,7 @@ void irq_modify_status(unsigned int irq, unsigned long clr, unsigned long set) irq_put_desc_unlock(desc, flags); } +EXPORT_SYMBOL_GPL(irq_modify_status); /** * irq_cpu_online - Invoke all irq_cpu_online functions. |