[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101016010141.GP8332@bombadil.infradead.org>
Date: Fri, 15 Oct 2010 21:01:41 -0400
From: Kyle McMartin <kyle@...artin.ca>
To: linux-kernel@...r.kernel.org
Cc: Hirokazu Takata <takata@...ux-m32r.org>, tglx@...hat.com,
linux-m32r@...linux-m32r.org, kyle@...artin.ca
Subject: [PATCH 3/3] m32r: fix build warning about unused irq chip
Signed-off-by: Kyle McMartin <kyle@...hat.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
--
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