diff mbox series

[v8,3/6] kernel/reboot.c: export pm_power_off_prepare

Message ID 20180726092220.17250-4-o.rempel@pengutronix.de (mailing list archive)
State Not Applicable, archived
Headers show
Series provide power off support for iMX6 with external PMIC | expand

Commit Message

Oleksij Rempel July 26, 2018, 9:22 a.m. UTC
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>
---
 kernel/reboot.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/kernel/reboot.c b/kernel/reboot.c
index e4ced883d8de..83810d726f3e 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