summaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2022-04-27 14:54:01 +0200
committerLuis Chamberlain <mcgrof@kernel.org>2022-05-10 01:54:56 +0200
commit764aaf44cd64dd1f760268ee0b22d2dc53cd5bc0 (patch)
tree9322cd4ea89474a6740ce8fdc3671552f8f9ee5a /drivers/pnp
parentkernel/kexec_core: move kexec_core sysctls into its own file (diff)
downloadlinux-764aaf44cd64dd1f760268ee0b22d2dc53cd5bc0.tar.xz
linux-764aaf44cd64dd1f760268ee0b22d2dc53cd5bc0.zip
reboot: Fix build warning without CONFIG_SYSCTL
If CONFIG_SYSCTL is n, build warn: kernel/reboot.c:443:20: error: ‘kernel_reboot_sysctls_init’ defined but not used [-Werror=unused-function] static void __init kernel_reboot_sysctls_init(void) ^~~~~~~~~~~~~~~~~~~~~~~~~~ Move kernel_reboot_sysctls_init() to #ifdef block to fix this. Fixes: 06d177662fb8 ("kernel/reboot: move reboot sysctls to its own file") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions