From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Thomas Gleixner <tglx@linutronix.de>,
Stephen Rothwell <sfr@canb.auug.org.au>,
Linus Walleij <linus.walleij@linaro.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@gmail.com>,
linux-kernel@vger.kernel.org, linux-next@vger.kernel.org
Subject: [PATCH 1/2] genirq: export irq_set_chip_and_handler_name()
Date: Sun, 08 Jul 2012 19:05:45 -0700 (PDT) [thread overview]
Message-ID: <87pq85g03t.wl%kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <87r4slg063.wl%kuninori.morimoto.gx@renesas.com>
Export irq_set_chip_and_handler_name() 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: "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>
---
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)
{
--
1.7.5.4
next prev parent reply other threads:[~2012-07-09 2:05 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-06 6:14 linux-next: build failure after merge of the gpio-lw tree Stephen Rothwell
2012-07-06 7:01 ` Linus Walleij
2012-07-06 8:55 ` Kuninori Morimoto
2012-07-08 19:14 ` Linus Walleij
2012-07-09 2:04 ` Kuninori Morimoto
2012-07-09 2:05 ` Kuninori Morimoto [this message]
2012-07-09 2:06 ` [PATCH 2/2] genirq: export dummy_irq_chip Kuninori Morimoto
2012-07-09 20:34 ` linux-next: build failure after merge of the gpio-lw tree Linus Walleij
2012-07-24 3:56 ` Kuninori Morimoto
2012-07-31 5:38 ` [PATCH 0/2][resend] genirq: export patches Kuninori Morimoto
2012-07-31 5:39 ` [PATCH 1/2][resend] genirq: export irq_set_chip_and_handler_name() Kuninori Morimoto
2012-08-21 16:38 ` [tip:irq/core] genirq: Export irq_set_chip_and_handler_name() tip-bot for Kuninori Morimoto
2012-07-31 5:39 ` [PATCH 2/2][resend] genirq: export dummy_irq_chip Kuninori Morimoto
2012-08-21 16:39 ` [tip:irq/core] genirq: Export dummy_irq_chip tip-bot for Kuninori Morimoto
2012-08-21 0:52 ` [PATCH 0/2][resend] genirq: export patches Kuninori Morimoto
2012-08-21 9:34 ` Thomas Gleixner
2012-08-22 5:03 ` linux-next: build failure after merge of the gpio-lw tree Kuninori Morimoto
2012-08-23 21:43 ` Linus Walleij
2012-08-27 1:16 ` Kuninori Morimoto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pq85g03t.wl%kuninori.morimoto.gx@renesas.com \
--to=kuninori.morimoto.gx@renesas.com \
--cc=kuninori.morimoto.gx@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).