diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2015-01-14 09:16:23 +0800 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-01-14 13:13:24 +0900 |
commit | 16bd794f9432b556ec797cbf16c5e575a18f7030 (patch) | |
tree | bb0ab1acb720867ea896abf31cc779d7a7e087d6 /drivers/clk/shmobile | |
parent | 09bd745b555c262d1e2c851777317f3adf3cf3d4 (diff) | |
download | linux-16bd794f9432b556ec797cbf16c5e575a18f7030.tar.gz linux-16bd794f9432b556ec797cbf16c5e575a18f7030.tar.bz2 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.c | 2 |
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[] = { |