watchdog/core: remove sysctl handlers from public header
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 6 Mar 2024 06:49:16 +0000 (07:49 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 12 Mar 2024 20:09:23 +0000 (13:09 -0700)
commit75060b6ead0e93b7b43a451ba1e13c49b1aa2025
tree43b99b6a19bb9d73a57d85b4ed28ccc7c1184e02
parentadc2c8d0b36f8c97cd3bf7c1420f8d61ee08ce4d
watchdog/core: remove sysctl handlers from public header

The functions are only used in the file where they are defined.  Remove
them from the header and make them static.

Also guard proc_soft_watchdog with a #define-guard as it is not used
otherwise.

Link: https://lkml.kernel.org/r/20240306-const-sysctl-prep-watchdog-v1-1-bd45da3a41cf@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/nmi.h
kernel/watchdog.c