irqchip: irq-bcm2835: Add terminating entry for of_device_id table
Subsystems (3)
PATCH 1/1 irqchip: irq-bcm2835: Add terminating entry for of_device_id table
From: Axel Lin <[email protected]>
The of_device_id table is supposed to be zero-terminated.
Signed-off-by Axel Lin <[email protected]>
Signed-off-by Stephen Warren <[email protected]>
---
This is a fix for v3.7.
drivers/irqchip/irq-bcm2835.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/irqchip/irq-bcm2835.c +2 -1
@@ -168,7 +168,8 @@ static int __init armctrl_of_init(struct device_node *node, }static struct of_device_id irq_of_match[]__initconst = { - { .compatible ="brcm,bcm2835-armctrl-ic" , .data = armctrl_of_init } + { .compatible ="brcm,bcm2835-armctrl-ic" , .data = armctrl_of_init }, + { } };void __init bcm2835_init_irq (void )
Signature · 1 line
1.7.9.5
Olof Johansson
AppliedPATCH 1/1 irqchip: irq-bcm2835: Add terminating entry for of_device_id table
Quoted 8 lines · Stephen Warren
From: Axel Lin <[email protected]>
The
of_device_idtable is supposed to be zero-terminated.Signed-off-by Axel Lin <[email protected]>Signed-off-by Stephen Warren <[email protected]>---
This is a fix for v3.7.
Thanks, applied.
-Olof