aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2021-07-28 00:30:40 +0200
committerWim Van Sebroeck <[email protected]>2021-08-22 10:28:09 +0200
commitade448c7e58e58b8fb86ebf31497b68b7c4f94d7 (patch)
tree496f57b181d66af1a2697dbcc3def6bde9c425fb /lib/test_overflow.c
parentaec42642d91fc86ddc03e97f0139c6c34ee6b6b1 (diff)
watchdog: sl28cpld_wdt: Constify static struct watchdog_ops
The struct sl28cpld_wdt_ops is only assigned to the ops pointer in the watchdog_device struct, which is a pointer to const struct watchdog_ops. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions