lkml.org 
[lkml]   [2013]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] irqchip: aramda370-xp: fix compilation warning
Date
From: Vincent Donnefort <vdonnefort@gmail.com>

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@gmail.com>

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


\
 
 \ /
  Last update: 2013-10-29 16:01    [W:0.042 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site