aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-08-13 14:27:14 +0530
committerStephen Boyd <sboyd@kernel.org>2019-09-06 10:27:40 -0700
commitf5c009dbf1730801c1741f1ed4638b38ea32a2a6 (patch)
tree99adc0a335f252c4afe0e5b8fa492877251359f2 /Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml
parentLinus 5.3-rc1 (diff)
downloadlinux-dev-f5c009dbf1730801c1741f1ed4638b38ea32a2a6.tar.xz
linux-dev-f5c009dbf1730801c1741f1ed4638b38ea32a2a6.zip
clk: spear: Make structure i2s_sclk_masks constant
Static structure i2s_sclk_masks, having type aux_clk_masks, is only used when it is passed as the sixth argument to function clk_register_aux(). However, clk_register_aux() is defined with its sixth argument as const. Hence i2s_sclk_masks is not modified by clk_register_aux, which is also the only usage of the former. Therefore make i2s_sclk_masks constant as it is never modified. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lkml.kernel.org/r/20190813085714.8079-1-nishkadg.linux@gmail.com Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml')
0 files changed, 0 insertions, 0 deletions