projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f146d0
)
arc: export symbol for pm_power_off in reset.c
author
Chen Gang
<gang.chen@asianux.com>
Mon, 28 Oct 2013 03:49:47 +0000
(11:49 +0800)
committer
Vineet Gupta
<vgupta@synopsys.com>
Wed, 6 Nov 2013 05:11:44 +0000
(10:41 +0530)
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>
arch/arc/kernel/reset.c
patch
|
blob
|
history
diff --git
a/arch/arc/kernel/reset.c
b/arch/arc/kernel/reset.c
index e227a2b1c9431fac35485c5d1e988b2a3ef3fd87..2768fa1e39b9e1ee59f6edc2975d66e65bf3a438 100644
(file)
--- 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);