Browse Source

clk: shmobile: fix sparse NULL pointer warning

Fixes the following sparse warnings:

drivers/clk/shmobile/clk-sh73a0.c:57:17: warning:
 Using plain integer as NULL pointer

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Wei Yongjun 10 years ago
parent
commit
16bd794f94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/clk/shmobile/clk-sh73a0.c

+ 1 - 1
drivers/clk/shmobile/clk-sh73a0.c

@@ -54,7 +54,7 @@ static struct div4_clk div4_clks[] = {
 	{ "m2", "pll1", CPG_FRQCRA,  0 },
 	{ "zx", "pll1", CPG_FRQCRB, 12 },
 	{ "hp", "pll1", CPG_FRQCRB,  4 },
-	{ NULL, 0, 0, 0 },
+	{ NULL, NULL, 0, 0 },
 };
 
 static const struct clk_div_table div4_div_table[] = {