clocksource: mct: Add terminating entry for exynos_mct_ids table
authorAxel Lin <[axel.lin@ingics.com]>
Thu, 4 Apr 2013 06:34:45 +0000 (15:34 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 4 Apr 2013 06:35:42 +0000 (15:35 +0900)
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>
drivers/clocksource/exynos_mct.c

index 401fcf3f0f9ff09bbfc514366d963d07811fefd6..d3f1327d1ac4ce44344fc0e1c79e174ceaba0c09 100644 (file)
@@ -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)