ARM: rockchip: Constify struct regmap_config and staticize local function
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Sun, 1 Mar 2015 23:12:03 +0000 (00:12 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 11 Mar 2015 21:40:56 +0000 (22:40 +0100)
commitbd76d73836fa903d67eaabcb3a0201d2d0a73461
tree14d1e3bbd563ce94776870909bfab8b7b8488456
parentc517d838eb7d07bbe9507871fab3931deccff539
ARM: rockchip: Constify struct regmap_config and staticize local function

The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const.

Make function rockchip_get_core_reset() static because it is not used
outside of the platsmp.c file.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/mach-rockchip/platsmp.c