[PATCH] ARM: pxa: z2: Fix section mismatch

Robert Jarzmik robert.jarzmik at free.fr
Mon Oct 5 12:50:32 PDT 2015


Thierry Reding <thierry.reding at gmail.com> writes:

> The z2_power_off() function calls pxa27x_set_pwrmode(), which is marked
> __init. z2_power_off() is set up as the power off handler, so will need
> to stick around after __init data is discarded. Fix this by doing what
> everyone else does and set the power mode from the board initialization
> code instead.
Applied to pxa/fixes, thanks.

Cheers.

--
Robert



More information about the linux-arm-kernel mailing list