diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-05-27 02:04:24 +0200 |
---|---|---|
committer | Guan Xuetao <gxt@mprc.pku.edu.cn> | 2014-06-20 02:22:40 +0200 |
commit | 3420d49dd3f22a3342bec16dc0bd2b64eaf061a5 (patch) | |
tree | d6e4d314eca14b0c74aab44bcfa0c51d1e34adae | |
parent | arch: unicore32: ksyms: export additional find_first_*() to avoid compiling f... (diff) | |
download | linux-3420d49dd3f22a3342bec16dc0bd2b64eaf061a5.tar.xz linux-3420d49dd3f22a3342bec16dc0bd2b64eaf061a5.zip |
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 <gang.chen.5i5j@gmail.com>
Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
-rw-r--r-- | arch/unicore32/kernel/process.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |