Skip to content

Commit

Permalink
clocksource: mct: Add terminating entry for exynos_mct_ids 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: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Axel Lin authored and Kukjin Kim committed Apr 4, 2013
1 parent d8acac5 commit 354599f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clocksource/exynos_mct.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ static void __init exynos4_timer_resources(struct device_node *np)
static const struct of_device_id exynos_mct_ids[] = {
{ .compatible = "samsung,exynos4210-mct", .data = (void *)MCT_INT_SPI },
{ .compatible = "samsung,exynos4412-mct", .data = (void *)MCT_INT_PPI },
{ }
};

void __init mct_init(void)
Expand Down

0 comments on commit 354599f

Please sign in to comment.