summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mru_cache.h
diff options
context:
space:
mode:
authorSascha Hauer2015-03-31 20:16:52 +0200
committerStephen Boyd2015-05-06 07:50:03 +0200
commit2893c379461a208b3059f55dfe4dafa06b4aa46a (patch)
tree8df8cc5a29369089757c971fcfe94f044f6674b8 /fs/xfs/xfs_mru_cache.h
parentMerge branch 'clk-fixes' into clk-next (diff)
downloadkernel-qcow2-linux-2893c379461a208b3059f55dfe4dafa06b4aa46a.tar.gz
kernel-qcow2-linux-2893c379461a208b3059f55dfe4dafa06b4aa46a.tar.xz
kernel-qcow2-linux-2893c379461a208b3059f55dfe4dafa06b4aa46a.zip
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 <s.hauer@pengutronix.de> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> [sboyd@codeaurora.org: Squelch 80-character checkpatch warnings] Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'fs/xfs/xfs_mru_cache.h')
0 files changed, 0 insertions, 0 deletions