From: Chen Gang Date: Mon, 28 Oct 2013 03:49:47 +0000 (+0800) Subject: arc: export symbol for pm_power_off in reset.c X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b6fe8e7c0189d017fdba90d1cd134337098c19c3;p=deliverable%2Flinux.git 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 Signed-off-by: Vineet Gupta --- diff --git a/arch/arc/kernel/reset.c b/arch/arc/kernel/reset.c index e227a2b1c943..2768fa1e39b9 100644 --- a/arch/arc/kernel/reset.c +++ b/arch/arc/kernel/reset.c @@ -31,3 +31,4 @@ void machine_power_off(void) } void (*pm_power_off) (void) = NULL; +EXPORT_SYMBOL(pm_power_off);