CLK: SPEAr: make structure field and function argument as const
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 17 Oct 2017 14:38:33 +0000 (16:38 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 2 Nov 2017 06:22:32 +0000 (23:22 -0700)
commit71bf5ab8638fe333ac8a984b46fc3f4ea0c5120a
tree187567738a0594017b662fdb5075b6b1ee3f7769
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
CLK: SPEAr: make structure field and function argument as const

Make the masks field of clk_aux structure const as it do not modify the
fields of the aux_clk_masks structure it points to.

Make the struct aux_clk_masks *aux argument of the function
clk_register_aux as const as the argument is only stored in the masks
field of a clk_aux structure which is now made const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/spear/clk-aux-synth.c
drivers/clk/spear/clk.h