Thread (17 messages) 17 messages, 4 authors, 2017-06-20

[PATCH v5 3/6] kernel/reboot.c: export pm_power_off_prepare

From: Leonard Crestez <hidden>
Date: 2017-06-19 11:35:23
Also in: linux-clk, linux-devicetree, lkml

On Mon, 2017-06-19 at 07:02 +0200, Oleksij Rempel wrote:
quoted hunk ↗ jump to hunk
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 --git a/kernel/reboot.c b/kernel/reboot.c
index bd30a973fe94..a6903bf772c7 100644
--- a/kernel/reboot.c
+++ b/kernel/reboot.c
@@ -49,6 +49,7 @@ int reboot_force;
? */
?
?void (*pm_power_off_prepare)(void);
+EXPORT_SYMBOL(pm_power_off_prepare);
?
Could you register a reboot notifier in the pfuze driver instead? Right
now the only user of pm_power_off_prepare is ACPI so this alternative
seems less intrusive.

--
Regards,
Leonard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help