[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-b3ae66f209e8929db62b5a5f874ab2cdcf5ef1d4@git.kernel.org>
Date: Tue, 21 Aug 2012 09:38:39 -0700
From: tip-bot for Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...nel.org,
kuninori.morimoto.gx@...esas.com, gregkh@...uxfoundation.org,
tglx@...utronix.de, sfr@...b.auug.org.au, linus.walleij@...aro.org
Subject: [tip:irq/core] genirq: Export irq_set_chip_and_handler_name()
Commit-ID: b3ae66f209e8929db62b5a5f874ab2cdcf5ef1d4
Gitweb: http://git.kernel.org/tip/b3ae66f209e8929db62b5a5f874ab2cdcf5ef1d4
Author: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
AuthorDate: Mon, 30 Jul 2012 22:39:06 -0700
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Tue, 21 Aug 2012 16:14:23 +0200
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@...esas.com>
Cc: Linus Walleij <linus.walleij@...aro.org>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Greg KH <gregkh@...uxfoundation.org>
Link: http://lkml.kernel.org/r/873948trpk.wl%25kuninori.morimoto.gx@renesas.com
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
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 eebd6d5..57d86d0 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,
irq_set_chip(irq, chip);
__irq_set_handler(irq, handle, 0, name);
}
+EXPORT_SYMBOL_GPL(irq_set_chip_and_handler_name);
void irq_modify_status(unsigned int irq, unsigned long clr, unsigned long set)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists