diff options
author | 2021-02-07 00:21:52 +0100 | |
---|---|---|
committer | 2021-02-08 16:59:21 +0100 | |
commit | 0f1f7f22f384f34b2f0800a3734aa0fc83eafff2 (patch) | |
tree | 577f147750642ccd40b243b0aea3ce8e685e0508 /lib/test_bitmap.c | |
parent | platform/surface: Add Surface Hot-Plug driver (diff) | |
download | linux-dev-0f1f7f22f384f34b2f0800a3734aa0fc83eafff2.tar.xz linux-dev-0f1f7f22f384f34b2f0800a3734aa0fc83eafff2.zip |
Platform: OLPC: Constify static struct regulator_ops
The only usage of it is to assign its address to the ops field in the
regulator_desc struct, which is a pointer to const struct regulator_ops.
Make it const to allow the compiler to put it in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20210206232152.58046-1-rikard.falkeborn@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions