mirror of https://gitee.com/openkylin/linux.git
irqchip: irq-bcm2835: Add terminating entry for of_device_id table
The of_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
dfac74d38e
commit
36e42a323c
|
@ -168,7 +168,8 @@ static int __init armctrl_of_init(struct device_node *node,
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct of_device_id irq_of_match[] __initconst = {
|
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)
|
void __init bcm2835_init_irq(void)
|
||||||
|
|
Loading…
Reference in New Issue