[PATCH] ARM: rockchip: Constify struct regmap_config and staticize local function

Heiko Stuebner heiko at sntech.de
Sun Mar 1 15:09:34 PST 2015


Hi Krzysztof,

Am Dienstag, 24. Februar 2015, 10:38:47 schrieb Krzysztof Kozlowski:
> 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 at samsung.com>

Added to my soc branch for 4.1


Thanks for finding these
Heiko



More information about the linux-arm-kernel mailing list