aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_packet_layer.c
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2021-02-06 23:21:52 +0000
committerHans de Goede <[email protected]>2021-02-08 15:59:21 +0000
commit0f1f7f22f384f34b2f0800a3734aa0fc83eafff2 (patch)
tree577f147750642ccd40b243b0aea3ce8e685e0508 /drivers/platform/surface/aggregator/ssh_packet_layer.c
parentplatform/surface: Add Surface Hot-Plug driver (diff)
downloadkernel-0f1f7f22f384f34b2f0800a3734aa0fc83eafff2.tar.gz
kernel-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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_packet_layer.c')
0 files changed, 0 insertions, 0 deletions