Commit ff336572 authored by Axel Lin's avatar Axel Lin Committed by Maxime Ripard

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 3703af46
...@@ -129,7 +129,8 @@ static int __init sunxi_of_init(struct device_node *node, ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment