Skip to content

Commit

Permalink
irqchip: irq-sunxi: Add terminating entry for sunxi_irq_dt_ids
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Maxime Ripard committed Dec 3, 2012
1 parent 3703af4 commit ff33657
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/irqchip/irq-sunxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ static int __init sunxi_of_init(struct device_node *node,
}

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)
Expand Down

0 comments on commit ff33657

Please sign in to comment.