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

Andrew Morton akpm at linux-foundation.org
Wed May 31 13:54:04 PDT 2017


On Wed, 31 May 2017 08:14:54 +0200 Oleksij Rempel <o.rempel at pengutronix.de> wrote:

> we need it to preconfigure PMIC to properly power off the system.

Who is "we", what is a "PMIC", what architecture is affected and where
is this code which references pm_power_off_prepare?

> --- 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);
>  
>  /**
>   *	emergency_restart - reboot the system
> -- 
> 2.11.0



More information about the linux-arm-kernel mailing list