[PATCH 07/10] clk: Constify parent name arrays
Turquette, Mike
mturquette at ti.com
Tue Mar 27 21:03:49 EDT 2012
On Tue, Mar 27, 2012 at 12:23 AM, Shawn Guo <shawn.guo at linaro.org> wrote:
> From: Mark Brown <broonie at opensource.wolfsonmicro.com>
>
> Drivers should be able to declare their arrays of parent names as const
> so the APIs need to accept const arguments.
>
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Thanks for reposting Shawn.
Mark, I've taken this in to my fixes branch, but I dropped the change
in drivers/clk/clk-fixed-rate.c (since that code has shuffled) and I
also marked the char *parent[1] in fixed-rate and gate clocks as
const, in addition to the divider you did in your patch.
Thanks,
Mike
More information about the linux-arm-kernel
mailing list