summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/reset.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-10-28 11:49:47 +0800
committerVineet Gupta <vgupta@synopsys.com>2013-11-06 10:41:44 +0530
commitb6fe8e7c0189d017fdba90d1cd134337098c19c3 (patch)
tree8413149da4e70e0e85073be36c271371c7791069 /arch/arc/kernel/reset.c
parent8f146d0204a874b6b1f5344ed578796e2fcd7e9c (diff)
downloadlinux-b6fe8e7c0189d017fdba90d1cd134337098c19c3.tar.gz
linux-b6fe8e7c0189d017fdba90d1cd134337098c19c3.tar.bz2
linux-b6fe8e7c0189d017fdba90d1cd134337098c19c3.zip
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>
Diffstat (limited to 'arch/arc/kernel/reset.c')
-rw-r--r--arch/arc/kernel/reset.c1
1 files changed, 1 insertions, 0 deletions
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);