Commit 3420d49d authored by Chen Gang's avatar Chen Gang Committed by Guan Xuetao

arch: unicore32: ksyms: export 'pm_power_off' to avoid compiling failure.

Two driver modules need 'pm_power_off', so export it.

The related error (with allmodconfig under unicore32):

    MODPOST 4039 modules
  ERROR: "pm_power_off" [drivers/mfd/retu-mfd.ko] undefined!
  ERROR: "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefined!
Signed-off-by: default avatarChen Gang <>
Acked-by: default avatarXuetao Guan <>
Signed-off-by: default avatarXuetao Guan <>
parent 40ad2a67
......@@ -60,6 +60,7 @@ void machine_halt(void)
* Function pointers to optional machine specific functions
void (*pm_power_off)(void) = NULL;
void machine_power_off(void)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment