diff options
author | Rikard Falkeborn <[email protected]> | 2021-07-28 00:30:41 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2021-08-22 10:28:10 +0200 |
commit | 625e407ce0e78c82ce19f32710d2996f9ea11449 (patch) | |
tree | 3a14949adf71e88ef251f5c62b7fd9acfa3c2f51 /lib/test_overflow.c | |
parent | 47b45c4a69febd423ecb011fce22559158cd08d9 (diff) |
watchdog: tqmx86: Constify static struct watchdog_ops
The struct tqmx86_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