]> git.baikalelectronics.ru Git - kernel.git/commit
reboot: export symbol 'reboot_mode'
authorShawn Guo <shawn.guo@linaro.org>
Sun, 17 Oct 2021 04:27:37 +0000 (21:27 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 17 Oct 2021 04:31:06 +0000 (21:31 -0700)
commita3d434208320f2c9531f73d0a4bb596de3dd4856
tree4f2ed9b1502b27e2bfc90290b5d51962c0b7341e
parentd1f451065ef19ecbda59573b7ab6a09ec95b3f4a
reboot: export symbol 'reboot_mode'

Some drivers like Qualcomm pm8941-pwrkey need to access 'reboot_mode'
for triggering reboot between cold and warm mode.  Export the symbol, so
that drivers built as module can still access the symbol.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20210714095850.27185-2-shawn.guo@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
kernel/reboot.c