genirq: Export dummy_irq_chip
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 31 Jul 2012 05:39:20 +0000 (22:39 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 21 Aug 2012 14:14:23 +0000 (16:14 +0200)
commit17d83127d4c2b322dd8f217e0ac08c66eb403779
tree95bef6416bf98f67cb64eddec2c77ff997757629
parentb3ae66f209e8929db62b5a5f874ab2cdcf5ef1d4
genirq: Export dummy_irq_chip

Export dummy_irq_chip to modules to allow them to do things such as

irq_set_chip_and_handler(virq,
 &dummy_irq_chip,
 handle_level_irq);
This fixes

ERROR: "dummy_irq_chip" [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/871ujstrp6.wl%25kuninori.morimoto.gx@renesas.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/dummychip.c