hikey960: fix build issue with CLANG
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Fri, 2 Mar 2018 06:23:55 +0000 (14:23 +0800)
committerHaojian Zhuang <haojian.zhuang@linaro.org>
Tue, 6 Mar 2018 09:59:37 +0000 (17:59 +0800)
commit056b3d49b234f74e9bf148978cadd35332ef46b3
treef57b55e08f77d4edfcdd4560e729d96bfc0d345e
parentf918bca3b7cbbb67e4e165c17591dd627804a777
hikey960: fix build issue with CLANG

plat/hisilicon/hikey960/drivers/pwrc/hisi_pwrc.c:290:20:
error: unused function 'hisi_pdc_set_intmask' [-Werror,-Wunused-function]
static inline void hisi_pdc_set_intmask(void *pdc_base_addr,
                   ^
1 error generated.
Makefile:605: recipe for target 'build/hikey960/release/bl31/hisi_pwrc.o' failed
make: *** [build/hikey960/release/bl31/hisi_pwrc.o] Error 1

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
plat/hisilicon/hikey960/drivers/pwrc/hisi_pwrc.c