summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-mvebu-gicp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/irqchip/irq-mvebu-gicp.c')
-rw-r--r--drivers/irqchip/irq-mvebu-gicp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-mvebu-gicp.c b/drivers/irqchip/irq-mvebu-gicp.c
index b283fc90be1e..17a4a7b6cdbb 100644
--- a/drivers/irqchip/irq-mvebu-gicp.c
+++ b/drivers/irqchip/irq-mvebu-gicp.c
@@ -194,6 +194,7 @@ static int mvebu_gicp_probe(struct platform_device *pdev)
return -ENOMEM;
gicp->dev = &pdev->dev;
+ spin_lock_init(&gicp->spi_lock);
gicp->res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (!gicp->res)