]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bd0915bd180ffbd66b50c9cfdb34b81262f29c8
tree14d1e3bbd563ce94776870909bfab8b7b8488456
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
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