From: Chen Gang Date: Tue, 27 May 2014 00:04:24 +0000 (+0800) Subject: arch: unicore32: ksyms: export 'pm_power_off' to avoid compiling failure. X-Git-Tag: next-20140530~102^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bd7162014f903ecffb8a867702d30ca0a03e1029;p=karo-tx-linux.git 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: Chen Gang Acked-by: Xuetao Guan Signed-off-by: Xuetao Guan --- diff --git a/arch/unicore32/kernel/process.c b/arch/unicore32/kernel/process.c index 778ebba80827..b008e9961465 100644 --- a/arch/unicore32/kernel/process.c +++ b/arch/unicore32/kernel/process.c @@ -60,6 +60,7 @@ void machine_halt(void) * Function pointers to optional machine specific functions */ void (*pm_power_off)(void) = NULL; +EXPORT_SYMBOL(pm_power_off); void machine_power_off(void) {