clk: hisilicon: mark wdt_mux_p[] as const
authorArnd Bergmann <arnd@arndb.de>
Tue, 20 Feb 2018 15:15:21 +0000 (16:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:17:53 +0000 (16:17 +0200)
commit99f29b5c1cc4670b3ea5e2e9013737a6201e49a5
tree046db297dcd7ee3af2bacfc2c4988172e8b642a2
parent2dc1d1a8715ec6e2459f61be70b1faf43af29bf1
clk: hisilicon: mark wdt_mux_p[] as const

[ Upstream commit df934cbcbff7afbc024bf05f02615917c61f6470 ]

The symbol is in the __initconst section but not marked init, which
caused a warning when building with LTO.

This makes it 'const' as was obviously intended.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: c80dfd9bf54e ("clk: hisilicon: add CRG driver for Hi3516CV300 SoC")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/hisilicon/crg-hi3516cv300.c