From: Kyle McMartin <kyle@mcmartin.ca>
To: linux-kernel@vger.kernel.org
Cc: Hirokazu Takata <takata@linux-m32r.org>,
tglx@redhat.com, linux-m32r@ml.linux-m32r.org, kyle@mcmartin.ca
Subject: [PATCH 3/3] m32r: fix build warning about unused irq chip
Date: Fri, 15 Oct 2010 21:01:41 -0400 [thread overview]
Message-ID: <20101016010141.GP8332@bombadil.infradead.org> (raw)
In-Reply-To: <20101016005719.GM8332@bombadil.infradead.org>
Signed-off-by: Kyle McMartin <kyle@redhat.com>
---
arch/m32r/platforms/m32700ut/setup.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/m32r/platforms/m32700ut/setup.c b/arch/m32r/platforms/m32700ut/setup.c
index a43bdf4..bea1afb 100644
--- a/arch/m32r/platforms/m32700ut/setup.c
+++ b/arch/m32r/platforms/m32700ut/setup.c
@@ -167,6 +167,7 @@ static struct irq_chip m32700ut_lanpld_irq_type =
.mask = disable_m32700ut_lanpld_irq,
};
+#if defined(CONFIG_USB)
/*
* Interrupt Control Unit of PLD on M32700UT-LCD (Level 2)
*/
@@ -216,6 +217,7 @@ static struct irq_chip m32700ut_lcdpld_irq_type =
.unmask = enable_m32700ut_lcdpld_irq,
.mask = disable_m32700ut_lcdpld_irq,
};
+#endif
void __init init_IRQ(void)
{
--
1.7.3.1
prev parent reply other threads:[~2010-10-16 1:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-16 0:57 [PATCH 0/3] m32r: cleanup irq handling and stop calling __do_IRQ Kyle McMartin
2010-10-16 1:01 ` [PATCH 1/3] m32r: clean up direct irq_desc access Kyle McMartin
2010-10-16 1:01 ` [PATCH 2/3] m32r: clean up irq handlers and kill off __do_IRQ use Kyle McMartin
2010-10-16 1:01 ` Kyle McMartin [this message]
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=20101016010141.GP8332@bombadil.infradead.org \
--to=kyle@mcmartin.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m32r@ml.linux-m32r.org \
--cc=takata@linux-m32r.org \
--cc=tglx@redhat.com \
/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
all inboxes | Powered by JetHome®