summaryrefslogtreecommitdiffstats
path: root/drivers/clk/shmobile
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2015-01-14 02:16:23 +0100
committerSimon Horman <horms+renesas@verge.net.au>2015-01-14 05:13:24 +0100
commit16bd794f9432b556ec797cbf16c5e575a18f7030 (patch)
treebb0ab1acb720867ea896abf31cc779d7a7e087d6 /drivers/clk/shmobile
parentARM: shmobile: sh73a0: disable legacy clock initialization (diff)
downloadlinux-16bd794f9432b556ec797cbf16c5e575a18f7030.tar.xz
linux-16bd794f9432b556ec797cbf16c5e575a18f7030.zip
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[] = {