]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi: factors: Make struct clk_factors_config table const
authorChen-Yu Tsai <wens@csie.org>
Mon, 25 Jan 2016 13:15:38 +0000 (21:15 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 27 Jan 2016 15:50:38 +0000 (16:50 +0100)
commit9496b12d0064d27ee39ddc0bb7c2b3e768b7476b
tree445f6bb02820f560cc2cc2515c1caf8ca8287d96
parent30f39cbadd4aaeaee0485743687c4b89077e5d28
clk: sunxi: factors: Make struct clk_factors_config table const

struct clk_factors_config contains shifts/widths for the factors of
the factors clk. This is used to read out the factors from the register
value. In no case is it written to, so make it const.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-factors.c
drivers/clk/sunxi/clk-factors.h
drivers/clk/sunxi/clk-mod0.c
drivers/clk/sunxi/clk-sun9i-core.c
drivers/clk/sunxi/clk-sunxi.c