irqchip: irq-sunxi: Add terminating entry for sunxi_irq_dt_ids
The of_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
parent
3703af46fc
commit
ff33657288
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@ static int __init sunxi_of_init(struct device_node *node,
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct of_device_id sunxi_irq_dt_ids[] __initconst = {
|
static struct of_device_id sunxi_irq_dt_ids[] __initconst = {
|
||||||
{ .compatible = "allwinner,sunxi-ic", .data = sunxi_of_init }
|
{ .compatible = "allwinner,sunxi-ic", .data = sunxi_of_init },
|
||||||
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
void __init sunxi_init_irq(void)
|
void __init sunxi_init_irq(void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue