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 2/2] genirq: export dummy_irq_chip
Date: Sun, 08 Jul 2012 19:06:05 -0700 (PDT) [thread overview]
Message-ID: <87obnpg039.wl%kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <87r4slg063.wl%kuninori.morimoto.gx@renesas.com>
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>
---
kernel/irq/dummychip.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/irq/dummychip.c b/kernel/irq/dummychip.c
index b5fcd96..988dc58 100644
--- a/kernel/irq/dummychip.c
+++ b/kernel/irq/dummychip.c
@@ -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);
--
1.7.5.4
next prev parent reply other threads:[~2012-07-09 2:06 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 ` [PATCH 1/2] genirq: export irq_set_chip_and_handler_name() Kuninori Morimoto
2012-07-09 2:06 ` Kuninori Morimoto [this message]
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=87obnpg039.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).