The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <[email protected]>
---
 drivers/clocksource/exynos_mct.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c
index 203ac05..3cdafc0 100644
--- a/drivers/clocksource/exynos_mct.c
+++ b/drivers/clocksource/exynos_mct.c
@@ -514,6 +514,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)
-- 
1.7.9.5



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to