soc: rockchip: fixed compilation error
authorFrank Wang <frank.wang@rock-chips.com>
Thu, 6 Apr 2017 01:36:11 +0000 (09:36 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 6 Apr 2017 02:39:08 +0000 (10:39 +0800)
commit54aab968858bbedfc15b3ff5d457f11b00444312
tree23431f87b79b870edf5f9f147e10807125d74e26
parentfdfa7d9d572f05a6ec6c1696662c7301ec63129d
soc: rockchip: fixed compilation error

This adds fixed below errors when compiled rockchip_defconfig without
CONFIG_RK3368_SCPI_PROTOCOL select:

In file included from drivers/clk/rockchip/clk-ddr.c:23:0:
include/soc/rockchip/scpi.h:89:12: warning:
'scpi_sys_set_jtagmux_on_off' defined but not used [-Wunused-function]
error, forbidden warning: scpi.h:89
scripts/Makefile.build:258: recipe for target
'drivers/clk/rockchip/clk-ddr.o' failed
make[3]: *** [drivers/clk/rockchip/clk-ddr.o] Error 1

Change-Id: I5abc184554dcfc3697be82aede8dec27da2fcdd9
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
include/soc/rockchip/scpi.h