Skip to content
Commit 6487649e authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Stephen Boyd
Browse files

clk: pxa: Constify static struct clk_ops



Constify a couple of static struct clk_ops that are not modified. Their
only usage is inside the macros and their address is passed to
clk_register_composite() which takes pointers to const struct clk_ops.
This allows the compiler to put them in read-only memory.

Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200922184715.1854-1-rikard.falkeborn@gmail.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 9123e3a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment