Skip to content

Commit

Permalink
clk: shmobile: fix sparse NULL pointer warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Simon Horman committed Jan 14, 2015
1 parent 09bd745 commit 16bd794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/shmobile/clk-sh73a0.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 16bd794

Please sign in to comment.