diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-09-22 20:47:15 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-10-13 19:49:11 -0700 |
commit | 6487649ee8b81d6c3a4eb7f17505f7fe397fdca3 (patch) | |
tree | 8029f3de77786fb65bfa399b081f1298ccdd0bad /drivers/net/slip | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) |
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: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200922184715.1854-1-rikard.falkeborn@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/net/slip')
0 files changed, 0 insertions, 0 deletions