Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arc: export symbol for pm_power_off in reset.c

Need export symbol for it, or can not pass compiling, the related error
with allmodconfig:

MODPOST 2994 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@asianux.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

authored by

Chen Gang and committed by
Vineet Gupta
b6fe8e7c 8f146d02

+1
+1
arch/arc/kernel/reset.c
··· 31 31 } 32 32 33 33 void (*pm_power_off) (void) = NULL; 34 + EXPORT_SYMBOL(pm_power_off);