public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arc: kernel: export symbol for pm_power_off in reset.c
@ 2013-10-28  3:49 Chen Gang
  2013-10-28  4:09 ` Chen Gang
  2013-10-28 14:09 ` Vineet Gupta
  0 siblings, 2 replies; 4+ messages in thread
From: Chen Gang @ 2013-10-28  3:49 UTC (permalink / raw)
  To: vgupta@synopsys.com; +Cc: Arnd Bergmann, linux-kernel@vger.kernel.org

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>
---
 arch/arc/kernel/reset.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arc/kernel/reset.c b/arch/arc/kernel/reset.c
index e227a2b..2768fa1 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);
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-29  1:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-28  3:49 [PATCH] arc: kernel: export symbol for pm_power_off in reset.c Chen Gang
2013-10-28  4:09 ` Chen Gang
2013-10-28 14:09 ` Vineet Gupta
2013-10-29  1:09   ` Chen Gang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox