summaryrefslogtreecommitdiff
path: root/kernel/reboot.c
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2018-08-02 12:34:22 +0200
committerMark Brown <broonie@kernel.org>2018-09-11 16:13:24 +0100
commit74f008f251bc1797109b7f027d3fdb1ad620385d (patch)
treee774fc87ef590d72e288192aaf6a1146f3ed1e11 /kernel/reboot.c
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
downloadlwn-74f008f251bc1797109b7f027d3fdb1ad620385d.tar.gz
lwn-74f008f251bc1797109b7f027d3fdb1ad620385d.zip
kernel/reboot.c: export pm_power_off_prepare
Export pm_power_off_prepare. It is needed to implement power off on Freescale/NXP iMX6 based boards with external power management integrated circuit (PMIC). Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/reboot.c')
-rw-r--r--kernel/reboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/reboot.c b/kernel/reboot.c
index 8fb44dec9ad7..e1b79b6a2735 100644
--- a/kernel/reboot.c
+++ b/kernel/reboot.c
@@ -49,6 +49,7 @@ int reboot_force;
*/
void (*pm_power_off_prepare)(void);
+EXPORT_SYMBOL_GPL(pm_power_off_prepare);
/**
* emergency_restart - reboot the system