[PATCH 3/3] m32r: fix build warning about unused irq chip

From: Kyle McMartin
Date: Fri Oct 15 2010 - 21:01:47 EST


Signed-off-by: Kyle McMartin <kyle@xxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/