diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-09-13 15:26:44 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-09-15 12:21:50 +0300 |
commit | d0a3b65052f041852c855ea1135659770ba0bc09 (patch) | |
tree | ced936b407b2dceb28b1735fb32c4577a0845f04 /lib/decompress_inflate.c | |
parent | 2fc1af3095af5cbcd8fc406610dc196b62e3ed21 (diff) | |
download | linux-d0a3b65052f041852c855ea1135659770ba0bc09.tar.xz |
rtc: st-lpc: Constify st_rtc_ops
The only usage of st_rtc_ops is to assign its address to the ops field
in the rtc_device struct. which is a const pointer. Make it const to
allow the compiler to put it in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200913122644.35515-1-rikard.falkeborn@gmail.com
Diffstat (limited to 'lib/decompress_inflate.c')
0 files changed, 0 insertions, 0 deletions