Skip to content

Commit

Permalink
irqchip: irq-bcm2835: Add terminating entry for of_device_id table
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: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Axel Lin authored and Olof Johansson committed Nov 6, 2012
1 parent dfac74d commit 36e42a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/irqchip/irq-bcm2835.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 36e42a3

Please sign in to comment.