diff options
author | Jiri Slaby <jirislaby@kernel.org> | 2023-06-21 13:16:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-21 18:57:29 +0300 |
commit | e64ed44bce43e003dd154c0bc418a431c15bdf77 (patch) | |
tree | a0da85b38568c7d62cf34133a180ff9a091e4f6d /drivers/macintosh/therm_adt746x.c | |
parent | 3e540a7bad8534a9b8845defa051834c9694d86c (diff) | |
download | linux-e64ed44bce43e003dd154c0bc418a431c15bdf77.tar.xz |
tty_audit: make tty pointers in exposed functions const
Both tty_audit_add_data() and tty_audit_tiocsti() need only to read from
the tty struct, so make the tty parameters of them both const. This
aids the compiler a bit.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230621101611.10580-6-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/macintosh/therm_adt746x.c')
0 files changed, 0 insertions, 0 deletions