diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-07-31 01:39:06 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-08-21 10:14:23 -0400 |
commit | b3ae66f209e8929db62b5a5f874ab2cdcf5ef1d4 (patch) | |
tree | d7c2a3fcfc9fb7e7a7d01c9463803a4e43abb3ec /kernel/irq | |
parent | d9875690d9b89a866022ff49e3fcea892345ad92 (diff) |
genirq: Export irq_set_chip_and_handler_name()
Export irq_set_chip_and_handler_name() to modules to allow them to
do things such as
irq_set_chip_and_handler(....);
This fixes
ERROR: "irq_set_chip_and_handler_name" \
[drivers/gpio/gpio-pcf857x.ko] undefined!
when gpio-pcf857x.c is being built as a module.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Greg KH <gregkh@linuxfoundation.org>
Link: http://lkml.kernel.org/r/873948trpk.wl%25kuninori.morimoto.gx@renesas.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/chip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index eebd6d5cfb44..57d86d07221e 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c | |||
@@ -671,6 +671,7 @@ irq_set_chip_and_handler_name(unsigned int irq, struct irq_chip *chip, | |||
671 | irq_set_chip(irq, chip); | 671 | irq_set_chip(irq, chip); |
672 | __irq_set_handler(irq, handle, 0, name); | 672 | __irq_set_handler(irq, handle, 0, name); |
673 | } | 673 | } |
674 | EXPORT_SYMBOL_GPL(irq_set_chip_and_handler_name); | ||
674 | 675 | ||
675 | void irq_modify_status(unsigned int irq, unsigned long clr, unsigned long set) | 676 | void irq_modify_status(unsigned int irq, unsigned long clr, unsigned long set) |
676 | { | 677 | { |