From: Sascha Hauer Date: Tue, 31 Mar 2015 18:16:52 +0000 (+0200) Subject: clk: make strings in parent name arrays const X-Git-Tag: omap-for-v4.3/legacy-v2-signed~79^2~18^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2893c379461a;p=pandora-kernel.git clk: make strings in parent name arrays const The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays into the __initconst section. Signed-off-by: Sascha Hauer Reviewed-by: Krzysztof Kozlowski Tested-by: Krzysztof Kozlowski Acked-by: Uwe Kleine-König [sboyd@codeaurora.org: Squelch 80-character checkpatch warnings] Signed-off-by: Stephen Boyd --- Reading git-diff-tree failed