[PATCH] irqchip: aramda370-xp: fix compilation warning

From: Vincent Donnefort
Date: Tue Oct 29 2013 - 10:45:36 EST


From: Vincent Donnefort <vdonnefort@xxxxxxxxx>

Fix the following compilation warning:
drivers/irqchip/irq-armada-370-xp.c:55:23: warning: 'irq_controller_lock' defined but not used [-Wunused-variable]

Signed-off-by: Vincent Donnefort <vdonnefort@xxxxxxxxx>

diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c
index bb328a3..75c3141 100644
--- a/drivers/irqchip/irq-armada-370-xp.c
+++ b/drivers/irqchip/irq-armada-370-xp.c
@@ -52,7 +52,9 @@
#define IPI_DOORBELL_END (8)
#define IPI_DOORBELL_MASK 0xFF

+#ifdef CONFIG_SMP
static DEFINE_RAW_SPINLOCK(irq_controller_lock);
+#endif

static void __iomem *per_cpu_int_base;
static void __iomem *main_int_base;
--
1.8.3.2

--
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/