mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Greg KH <[email protected]> Link: http://lkml.kernel.org/r/871ujstrp6.wl%[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
b3ae66f209
commit
17d83127d4
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/irq.h>
|
||||
#include <linux/export.h>
|
||||
|
||||
#include "internals.h"
|
||||
|
||||
|
|
@ -57,3 +58,4 @@ struct irq_chip dummy_irq_chip = {
|
|||
.irq_mask = noop,
|
||||
.irq_unmask = noop,
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(dummy_irq_chip);
|
||||
|
|
|
|||
Loading…
Reference in a new issue