diff options
author | Jiri Kosina <jkosina@suse.cz> | 2012-05-13 12:13:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-15 17:10:07 +0200 |
commit | 3911ff30f5d1175e2e67e73244405e3492b35c79 (patch) | |
tree | 9727439d23b9308b6c26710db3aadf0406b1998b /arch/powerpc/boot/cuboot-85xx-cpm2.c | |
parent | Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
download | linux-3911ff30f5d1175e2e67e73244405e3492b35c79.tar.xz linux-3911ff30f5d1175e2e67e73244405e3492b35c79.zip |
genirq: export handle_edge_irq() and irq_to_desc()
Export handle_edge_irq() and irq_to_desc() to modules to allow them to
do things such as
__irq_set_handler_locked(...., handle_edge_irq);
This fixes
ERROR: "handle_edge_irq" [drivers/gpio/gpio-pch.ko] undefined!
ERROR: "irq_to_desc" [drivers/gpio/gpio-pch.ko] undefined!
when gpio-pch is being built as a module.
This was introduced by commit df9541a60af0 ("gpio: pch9: Use proper flow
type handlers") that added
__irq_set_handler_locked(d->irq, handle_edge_irq);
but handle_edge_irq() was not exported for modules (and inlined
__irq_set_handler_locked() requires irq_to_desc() exported as well)
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/boot/cuboot-85xx-cpm2.c')
0 files changed, 0 insertions, 0 deletions