Re: [PATCH] ARM: rockchip: Constify struct regmap_config and staticize local function
From: Heiko Stuebner
Date: Sun Mar 01 2015 - 18:09:46 EST
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@xxxxxxxxxxx>
Added to my soc branch for 4.1
Thanks for finding these
Heiko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/