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

Andrew Morton akpm at linux-foundation.org
Fri May 4 13:49:56 PDT 2018


On Fri, 4 May 2018 20:50:52 +0200 Oleksij Rempel <o.rempel at pengutronix.de> wrote:

> Hallo Andrew,
> I need your ACK or NACK for this patch.
> 
> This function is used to configure external PMIC to interpret
> signal which will be triggered by pm_power_off as power off.
> Since same signal can be used for stand by, I linked PMIC configuration
> with pm_power_off_prepare to avoid possible conflicts.
> 
> ...
>
> > --- 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);
> >  

OK by me, but it's more of a Rafael thing.



More information about the linux-arm-kernel mailing list