Skip to content

Commit

Permalink
clocksource: sunxi_timer: Add terminating entry for sunxi_timer_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 67bea88 commit 3703af4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clocksource/sunxi_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ static struct irqaction sunxi_timer_irq = {

static struct of_device_id sunxi_timer_dt_ids[] = {
{ .compatible = "allwinner,sunxi-timer" },
{ }
};

static void __init sunxi_timer_init(void)
Expand Down

0 comments on commit 3703af4

Please sign in to comment.