]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: imx6q: add missing sentinel to divider table
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 31 Oct 2013 11:55:48 +0000 (12:55 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 11 Nov 2013 14:58:44 +0000 (22:58 +0800)
The clk_enet_ref_table[] is missing a final empty entry as end of list
marker. Also make the existing markers more obvious.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx6q.c

index edd522e8c4af3cb9def32efd8b9ecb5d96a1c0ea..04cfd0fcb0e56db864d28f4240b2341ae20927b0 100644 (file)
@@ -122,13 +122,14 @@ static struct clk_div_table clk_enet_ref_table[] = {
        { .val = 1, .div = 10, },
        { .val = 2, .div = 5, },
        { .val = 3, .div = 4, },
+       { /* sentinel */ }
 };
 
 static struct clk_div_table post_div_table[] = {
        { .val = 2, .div = 1, },
        { .val = 1, .div = 2, },
        { .val = 0, .div = 4, },
-       { }
+       { /* sentinel */ }
 };
 
 static struct clk_div_table video_div_table[] = {
@@ -136,7 +137,7 @@ static struct clk_div_table video_div_table[] = {
        { .val = 1, .div = 2, },
        { .val = 2, .div = 1, },
        { .val = 3, .div = 4, },
-       { }
+       { /* sentinel */ }
 };
 
 static void __init imx6q_clocks_init(struct device_node *ccm_node)