diff options
| author | Rikard Falkeborn <[email protected]> | 2021-07-27 22:30:42 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2021-08-22 08:28:10 +0000 |
| commit | 47b45c4a69febd423ecb011fce22559158cd08d9 (patch) | |
| tree | c867085b0d757aa49da4d57610ada678d0af67de /net/unix/af_unix.c | |
| parent | watchdog: sl28cpld_wdt: Constify static struct watchdog_ops (diff) | |
| download | kernel-47b45c4a69febd423ecb011fce22559158cd08d9.tar.gz kernel-47b45c4a69febd423ecb011fce22559158cd08d9.zip | |
watchdog: mpc8xxx_wdt: Constify static struct watchdog_ops
The struct mpc8xxx_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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
