summaryrefslogtreecommitdiff
path: root/drivers/clk/shmobile
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2015-01-14 09:16:23 +0800
committerSimon Horman <horms+renesas@verge.net.au>2015-01-14 13:13:24 +0900
commit16bd794f9432b556ec797cbf16c5e575a18f7030 (patch)
treebb0ab1acb720867ea896abf31cc779d7a7e087d6 /drivers/clk/shmobile
parent09bd745b555c262d1e2c851777317f3adf3cf3d4 (diff)
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>
Diffstat (limited to 'drivers/clk/shmobile')
-rw-r--r--drivers/clk/shmobile/clk-sh73a0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/shmobile/clk-sh73a0.c b/drivers/clk/shmobile/clk-sh73a0.c
index 8574a6d91b20..cd529cfe412f 100644
--- a/drivers/clk/shmobile/clk-sh73a0.c
+++ b/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[] = {