aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJavier Carrasco <[email protected]>2024-07-03 23:04:53 +0200
committerJonathan Cameron <[email protected]>2024-07-29 20:31:10 +0100
commit244315b317350ad14a2f24b021f73c9dfcf83595 (patch)
treefe0c8c96caa484d12b4c4323396c6a321513d52c /lib/memory-notifier-error-inject.c
parent9abedf82c78505b9f9c8d9670cd06e67532eed71 (diff)
iio: pressure: bmp280: Constify struct regmap_bus
`bmp280_regmap_bus` and `bmp380_regmap_bus` are conditionally assigned to `bmp_regmap_bus`, which is only used to pass the struct as a read-only member. Add the const modifier to the structs and the pointer to move the data to a read-only section. Signed-off-by: Javier Carrasco <[email protected]> Tested-By: Vasileios Amoiridis <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions